Type Alias dMatrix3

Source
pub type dMatrix3 = [f64; 12];

Trait Implementations§

Source§

impl Matrix3 for dMatrix3

Source§

fn as_ptr_mut(&mut self) -> *mut dReal

ptr mut of dMatrix3

Source§

fn as_ptr(&self) -> *const dReal

ptr of dMatrix3 (use for converter)

Source§

fn prec_eq(&self, e: dReal, m: dMatrix3) -> bool

check equal with precision

Source§

fn as_mat(&self) -> ODEMat<'_>

for Debug

Source§

fn new() -> dMatrix3

construct as Identity
Source§

fn t(m: dMatrix3) -> dMatrix3

constructor (transpose illegular order)
Source§

fn t_ptr(m: *const dReal) -> dMatrix3

constructor (transpose illegular order) pointer
Source§

fn from_Q(q: dQuaternion) -> dMatrix3

constructor (converter)
Source§

fn to_Q(&self) -> dQuaternion

converter (like as dQuaternion::from_R(*self))
Source§

fn from_axis_and_angle(axis: [dReal; 3], angle: dReal) -> dMatrix3

constructor
Source§

fn from_euler_angles(phi: dReal, theta: dReal, psi: dReal) -> dMatrix3

constructor
Source§

fn from_2_axes(e0: [dReal; 3], e1: [dReal; 3]) -> dMatrix3

constructor
Source§

fn from_z_axis(e: [dReal; 3]) -> dMatrix3

constructor
Source§

fn multiply0_333(a: dMatrix3, b: dMatrix3) -> dMatrix3

constructor multiply a: dMatrix3 and b: dMatrix3
Source§

fn multiply0_333_pp(a: *const dReal, b: *const dReal) -> dMatrix3

constructor multiply a: dMatrix3 pointer and b: dMatrix3 pointer