MAMBO logo MAMBO & the MAMBO Toolbox MAMBO logo

FindPosition — Extraction of relative position of observers [mathematica]

FindPosition[A1,A2]

A1, A2: names of defined observers

The function FindPosition returns the position vector from the reference point of the observer A1 to the reference point of the observer A2.

Restart;
DeclareObservers[A,B];
DeclarePoints[A,B];
DeclareTriads[a,b];
DefineObservers[{A,A,a},{B,B,b}];
DefinePoints[A,B,a,1,2,3];
FindPosition[A,B]

{ Type "->" Vector , Size "->" 1 , 1 "->" { Coordinates "->" { 1 , 2 , 3 } , Triad "->" a } }


Toolbox functions