Back to functions

matrix


matrix

Creates a matrix


Usage: nerdamer("matrix(x, y, ...)")


Parameters

expression x a row of the matrix containing the columns [e1, e2, ...]
expression y a row of the matrix containing the columns [e1, e2, ...]

EXAMPLES:
nerdamer.setVar('M', 'matrix([a, b], [x^2, y-4])');
var x = nerdamer('a*x*M');
console.log(x.toString());
OUTPUT:
Back to functions