pub trait Matrix3 {
Show 15 methods
// Required methods
fn as_ptr_mut(&mut self) -> *mut f64;
fn as_ptr(&self) -> *const f64;
fn prec_eq(&self, e: f64, m: [f64; 12]) -> bool;
fn as_mat(&self) -> ODEMat<'_>;
// Provided methods
fn new() -> [f64; 12] { ... }
fn t(m: [f64; 12]) -> [f64; 12] { ... }
fn t_ptr(m: *const f64) -> [f64; 12] { ... }
fn from_Q(q: [f64; 4]) -> [f64; 12] { ... }
fn to_Q(&self) -> [f64; 4] { ... }
fn from_axis_and_angle(axis: [f64; 3], angle: f64) -> [f64; 12] { ... }
fn from_euler_angles(phi: f64, theta: f64, psi: f64) -> [f64; 12] { ... }
fn from_2_axes(e0: [f64; 3], e1: [f64; 3]) -> [f64; 12] { ... }
fn from_z_axis(e: [f64; 3]) -> [f64; 12] { ... }
fn multiply0_333(a: [f64; 12], b: [f64; 12]) -> [f64; 12] { ... }
fn multiply0_333_pp(a: *const f64, b: *const f64) -> [f64; 12] { ... }
}
Expand description
constructor and converter for primitive type
Required Methods§
Sourcefn as_ptr_mut(&mut self) -> *mut f64
fn as_ptr_mut(&mut self) -> *mut f64
ptr mut of dMatrix3
Provided Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.