Back to functions

vecget


vector get

Gets an element in a vector with zero based index.


Usage: nerdamer("vecget(v)")


Parameters

expression v a vector

EXAMPLES:
nerdamer.setVar('v', 'vector(a-r, x*x, z)');
var x = nerdamer('vecget(v, 0)');
console.log(x.toString());
OUTPUT:
Back to functions