Back to functions

vector


vector

Creates a vector

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


Parameters

expression x element of the vector
expression y element of the vector

Returns

Expression

EXAMPLES:
nerdamer.setVar('v1', 'vector(a-2, x*y, 6)');
x = nerdamer('a*v1');
console.log(x.toString())
OUTPUT:
Back to functions