Struct visioncortex::Numeric
source · [−]pub struct Numeric;Expand description
Matrix operations adapted from https://github.com/sloisel/numeric
Implementations
sourceimpl Numeric
impl Numeric
pub fn dim(x: &Matrix) -> Vec<usize>
pub fn clone(x: &Matrix) -> Matrix
pub fn identity(n: usize) -> Matrix
pub fn transpose(x: &Matrix) -> Matrix
pub fn inv(mx: &Matrix) -> Option<Matrix>
pub fn dot_mm_small(x: &Matrix, y: &Matrix) -> Matrix
pub fn dot_mv(x: &Matrix, y: &[f64]) -> Vec<f64>
pub fn dot_vv(x: &[f64], y: &[f64]) -> f64
Auto Trait Implementations
impl RefUnwindSafe for Numeric
impl Send for Numeric
impl Sync for Numeric
impl Unpin for Numeric
impl UnwindSafe for Numeric
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more