Anonymous user
Matrix multiplication: Difference between revisions
→{{header|Rascal}}
No edit summary |
|||
Line 2,178:
else throw "Matrix sizes do not match.";
//a matrix, given by a relation of the x-coordinate, y-coordinate and value.
public rel[real x, real y, real v] matrixA = {
<0.0,0.0,12.0>, <0.0,1.0, 6.0>, <0.0,2.0,-4.0>,
|