center of gravity
CG
CG(expr)
Returns the center of gravity of 3D line expr.
Example:
CG[1,12];
returns (5.5 6.5 7.5)
CG var
CG var("nn")
Returns the center of gravity of the variable name nn considered 3D line.
Example:
x=[1,12];CG var("x")
returns (5.5 6.5 7.5)