This issue tracks the development of v0.1 of the nd array support for this project.
Currently we will support the following things:
- Creation of Nd shape array
- Arithmetic Operations with nd shape array
The aim of the API is to look somewhat like this:
auto val = new vector<int> ({1,2,3,4});
auto shape = new vector<int> ({2,2});
Matrix<int> m(val,shape)
cout<<m<<endl;
m = m + m;
m = m - m;
In the future we want to try to add broadcasting, but not in this release.
We'll try to be as memory efficient as possible with as few allocation of memory and responsibly avoiding memory leaks by writing destructors.
This issue tracks the development of v0.1 of the nd array support for this project.
Currently we will support the following things:
The aim of the API is to look somewhat like this:
In the future we want to try to add broadcasting, but not in this release.
We'll try to be as memory efficient as possible with as few allocation of memory and responsibly avoiding memory leaks by writing destructors.