clvcooke / MatrixMath

A from scratch implementation of basic matrix manipulation and operations in C++
0 stars 2 forks source link

Use vector class to store the elements? #1

Closed neilparikh closed 9 years ago

neilparikh commented 9 years ago

Right now, elements is a 2D array (double **). C++ has a vector class that might make it easier to store our data, since it isn't fixed length.

http://www.cplusplus.com/reference/vector/vector/

ericye16 commented 9 years ago

I think dynamic arrays are better mostly because 1) templates are weird and 2) we didn't learn them in class?

neilparikh commented 9 years ago

Alright, arrays it is.