nvector._core.n_E2R_EN

nvector._core.n_E2R_EN(n_E, R_Ee=None)[source][source]

Returns the rotation matrix R_EN from n-vector.

Parameters:

n_E: 3 x 1 array

n-vector [no unit] decomposed in E

R_Ee : 2d array

rotation matrix defining the axes of the coordinate frame E.

Returns:

R_EN: 3 x 3 array

The resulting rotation matrix [no unit] (direction cosine matrix).