[][src]Trait argmin::core::ArgminEye

pub trait ArgminEye {
    fn eye(n: usize) -> Self;
fn eye_like(&self) -> Self; }

Identity matrix

Required methods

fn eye(n: usize) -> Self

Identity matrix of size n

fn eye_like(&self) -> Self

Identity matrix of same size as self

Loading content...

Implementations on Foreign Types

impl ArgminEye for Vec<Vec<f32>>[src]

impl ArgminEye for Vec<Vec<f64>>[src]

impl ArgminEye for Vec<Vec<i8>>[src]

impl ArgminEye for Vec<Vec<i16>>[src]

impl ArgminEye for Vec<Vec<i32>>[src]

impl ArgminEye for Vec<Vec<i64>>[src]

impl ArgminEye for Vec<Vec<u8>>[src]

impl ArgminEye for Vec<Vec<u16>>[src]

impl ArgminEye for Vec<Vec<u32>>[src]

impl ArgminEye for Vec<Vec<u64>>[src]

impl ArgminEye for Vec<Vec<isize>>[src]

impl ArgminEye for Vec<Vec<usize>>[src]

Loading content...

Implementors

Loading content...