ugh sorry
please don't reply at all to this
im the biggest idiot ever and i fixed it all.
User Profile
Collapse
-
Honestly what am I doing wrong here?
Ok, so I posted a couple days ago about 2 dimensional arrays! I did my research!! I'm now stuck with this code.. first, the determinant part of it - where I take the determinant of the 2x2 matrix will not work... it's telling me some business about "invalid operand types... "
Secondly, when I put in a matrix.. say 3x2 it will not transpose! 2x2 matrices it will.. but why won't it transpose a 3x2? or a 2x3?
At... -
Two Dimensional Array
Hey, so for our c++ class, we are asked to ask the user to create a matrix.. they'll input the number of rows/columns. Then they'll input the values into each row and column.
typedef vector<int> vd;
typedef vector<vd> x;
x Matrix;
int rows, columns;
int val1, val2;
cout << "Please enter the number of rows in your matrix: " << endl;
cin >> rows;...
No activity results to display
Show More
Leave a comment: