Go to: Synopsis. Return value. Related. MEL examples.
dot
vector vector
dot is undoable, NOT queryable, and NOT editable.
This command returns the dot product of two vectors.float | Dot product value |
vector $u=<<1,2,-2>>, $v=<<3,0,1>>; $x=dot($u, $v); // Result: 1 //