P
process
http://cpp.ninjacodemonkeys.org/5016
I'm making a matrix class to better my C++ skills and hopefully later
linear algebra skills
Basically I'm trying to implement the commented out constructor which
takes a 2-dimensional array as an argument and copies the values to
itself.
I could pass float f[][value] where value is replaced by an int but
that is kind of against the point since I don't know that value
beforehand.
I want to dynamically create the matrix.
I have been trying to get it right with templates but don't quite
understand how one would o it.
I would really appreciate the help!
I'm making a matrix class to better my C++ skills and hopefully later
linear algebra skills
Basically I'm trying to implement the commented out constructor which
takes a 2-dimensional array as an argument and copies the values to
itself.
I could pass float f[][value] where value is replaced by an int but
that is kind of against the point since I don't know that value
beforehand.
I want to dynamically create the matrix.
I have been trying to get it right with templates but don't quite
understand how one would o it.
I would really appreciate the help!