Struct nalgebra::Mat6 [] [src]

pub struct Mat6<N> {
    pub m11: N,
    pub m21: N,
    pub m31: N,
    pub m41: N,
    pub m51: N,
    pub m61: N,
    pub m12: N,
    pub m22: N,
    pub m32: N,
    pub m42: N,
    pub m52: N,
    pub m62: N,
    pub m13: N,
    pub m23: N,
    pub m33: N,
    pub m43: N,
    pub m53: N,
    pub m63: N,
    pub m14: N,
    pub m24: N,
    pub m34: N,
    pub m44: N,
    pub m54: N,
    pub m64: N,
    pub m15: N,
    pub m25: N,
    pub m35: N,
    pub m45: N,
    pub m55: N,
    pub m65: N,
    pub m16: N,
    pub m26: N,
    pub m36: N,
    pub m46: N,
    pub m56: N,
    pub m66: N,
}

Square matrix of dimension 6.

Fields

m11
m21
m31
m41
m51
m61
m12
m22
m32
m42
m52
m62
m13
m23
m33
m43
m53
m63
m14
m24
m34
m44
m54
m64
m15
m25
m35
m45
m55
m65
m16
m26
m36
m46
m56
m66

Methods

impl<N> Mat6<N>

fn new(m11: N, m12: N, m13: N, m14: N, m15: N, m16: N, m21: N, m22: N, m23: N, m24: N, m25: N, m26: N, m31: N, m32: N, m33: N, m34: N, m35: N, m36: N, m41: N, m42: N, m43: N, m44: N, m45: N, m46: N, m51: N, m52: N, m53: N, m54: N, m55: N, m56: N, m61: N, m62: N, m63: N, m64: N, m65: N, m66: N) -> Mat6<N>

impl<N> Mat6<N>

fn as_array(&self) -> &[[N; 6]; 6]

View this matrix as a column-major array of arrays.

fn as_array_mut<'a>(&'a mut self) -> &'a mut [[N; 6]; 6]

View this matrix as a column-major mutable array of arrays.

fn from_array_ref(array: &[[N; 6]; 6]) -> &Mat6<N>

View a column-major array of array as a vector.

fn from_array_mut(array: &mut [[N; 6]; 6]) -> &mut Mat6<N>

View a column-major array of array as a mutable vector.

impl<N: Copy> Mat6<N>

unsafe fn at_fast(&self, (i, j): (usize, usize)) -> N

unsafe fn set_fast(&mut self, (i, j): (usize, usize), val: N)

Trait Implementations

impl<N: Zero + One> Eye for Mat6<N>

fn new_identity(dim: usize) -> Mat6<N>

impl<N: Copy> Repeat<N> for Mat6<N>

fn repeat(val: N) -> Mat6<N>

impl<Nin: Copy, Nout: Copy + Cast<Nin>> Cast<Mat6<Nin>> for Mat6<Nout>

fn from(v: Mat6<Nin>) -> Mat6<Nout>

impl<N: Add<N, Output=N>> Add<Mat6<N>> for Mat6<N>

type Output = Mat6<N>

fn add(self, right: Mat6<N>) -> Mat6<N>

impl<N: Sub<N, Output=N>> Sub<Mat6<N>> for Mat6<N>

type Output = Mat6<N>

fn sub(self, right: Mat6<N>) -> Mat6<N>

impl<N: Copy + Add<N, Output=N>> Add<N> for Mat6<N>

type Output = Mat6<N>

fn add(self, right: N) -> Mat6<N>

impl<N: Copy + Sub<N, Output=N>> Sub<N> for Mat6<N>

type Output = Mat6<N>

fn sub(self, right: N) -> Mat6<N>

impl<N: Copy + Mul<N, Output=N>> Mul<N> for Mat6<N>

type Output = Mat6<N>

fn mul(self, right: N) -> Mat6<N>

impl<N: Copy + Div<N, Output=N>> Div<N> for Mat6<N>

type Output = Mat6<N>

fn div(self, right: N) -> Mat6<N>

impl<N: Absolute<N>> Absolute<Mat6<N>> for Mat6<N>

fn abs(m: &Mat6<N>) -> Mat6<N>

impl<N: Zero> Zero for Mat6<N>

fn zero() -> Mat6<N>

fn is_zero(&self) -> bool

impl<N: Copy + BaseNum> One for Mat6<N>

fn one() -> Mat6<N>

impl<N> Iterable<N> for Mat6<N>

fn iter<'l>(&'l self) -> Iter<'l, N>

impl<N> IterableMut<N> for Mat6<N>

fn iter_mut<'l>(&'l mut self) -> IterMut<'l, N>

impl<N> Dim for Mat6<N>

fn dim(_: Option<Mat6<N>>) -> usize

impl<N> Shape<(usize, usize)> for Mat6<N>

fn shape(&self) -> (usize, usize)

impl<N: Copy> Indexable<(usize, usize), N> for Mat6<N>

fn swap(&mut self, (i1, j1): (usize, usize), (i2, j2): (usize, usize))

unsafe fn unsafe_at(&self, (i, j): (usize, usize)) -> N

unsafe fn unsafe_set(&mut self, (i, j): (usize, usize), val: N)

impl<N> Index<(usize, usize)> for Mat6<N>

type Output = N

fn index(&self, (i, j): (usize, usize)) -> &N

impl<N> IndexMut<(usize, usize)> for Mat6<N>

fn index_mut(&mut self, (i, j): (usize, usize)) -> &mut N

impl<N: Copy + BaseNum> Mul<Mat6<N>> for Mat6<N>

type Output = Mat6<N>

fn mul(self, right: Mat6<N>) -> Mat6<N>

impl<N: Copy + BaseNum> Mul<Vec6<N>> for Mat6<N>

type Output = Vec6<N>

fn mul(self, right: Vec6<N>) -> Vec6<N>

impl<N: Copy + BaseNum> Mul<Pnt6<N>> for Mat6<N>

type Output = Pnt6<N>

fn mul(self, right: Pnt6<N>) -> Pnt6<N>

impl<N: Copy + BaseNum> Inv for Mat6<N>

fn inv(&self) -> Option<Mat6<N>>

fn inv_mut(&mut self) -> bool

impl<N: Copy> Transpose for Mat6<N>

fn transpose(&self) -> Mat6<N>

fn transpose_mut(&mut self)

impl<N: ApproxEq<N>> ApproxEq<N> for Mat6<N>

fn approx_epsilon(_: Option<Mat6<N>>) -> N

fn approx_ulps(_: Option<Mat6<N>>) -> u32

fn approx_eq_eps(&self, other: &Mat6<N>, epsilon: &N) -> bool

fn approx_eq_ulps(&self, other: &Mat6<N>, ulps: u32) -> bool

fn approx_eq(&self, other: &Self) -> bool

impl<N: Copy + Zero> Row<Vec6<N>> for Mat6<N>

fn nrows(&self) -> usize

fn set_row(&mut self, row: usize, v: Vec6<N>)

fn row(&self, row: usize) -> Vec6<N>

impl<N: Copy + Zero> Col<Vec6<N>> for Mat6<N>

fn ncols(&self) -> usize

fn set_col(&mut self, col: usize, v: Vec6<N>)

fn col(&self, col: usize) -> Vec6<N>

impl<N: Clone + Copy + Zero> ColSlice<DVec6<N>> for Mat6<N>

fn col_slice(&self, cid: usize, rstart: usize, rend: usize) -> DVec6<N>

impl<N: Clone + Copy + Zero> RowSlice<DVec6<N>> for Mat6<N>

fn row_slice(&self, rid: usize, cstart: usize, cend: usize) -> DVec6<N>

impl<N: Copy + Zero> Diag<Vec6<N>> for Mat6<N>

fn from_diag(diag: &Vec6<N>) -> Mat6<N>

fn diag(&self) -> Vec6<N>

impl<N: Copy + Zero> DiagMut<Vec6<N>> for Mat6<N>

fn set_diag(&mut self, diag: &Vec6<N>)

impl<N> EigenQR<N, Vec6<N>> for Mat6<N> where N: BaseFloat + ApproxEq<N> + Clone

fn eigen_qr(&self, eps: &N, niter: usize) -> (Mat6<N>, Vec6<N>)

impl<N: Rand> Rand for Mat6<N>

fn rand<R: Rng>(rng: &mut R) -> Mat6<N>

Derived Implementations

impl<N: Copy> Copy for Mat6<N>

impl<N: Debug> Debug for Mat6<N>

fn fmt(&self, __arg_0: &mut Formatter) -> Result

impl<N: Hash> Hash for Mat6<N>

fn hash<__H: Hasher>(&self, __arg_0: &mut __H)

fn hash_slice<H>(data: &[Self], state: &mut H) where H: Hasher

impl<N: Clone> Clone for Mat6<N>

fn clone(&self) -> Mat6<N>

fn clone_from(&mut self, source: &Self)

impl<N: Decodable> Decodable for Mat6<N>

fn decode<__D: Decoder>(__arg_0: &mut __D) -> Result<Mat6<N>, __D::Error>

impl<N: Encodable> Encodable for Mat6<N>

fn encode<__S: Encoder>(&self, __arg_0: &mut __S) -> Result<(), __S::Error>

impl<N: PartialEq> PartialEq for Mat6<N>

fn eq(&self, __arg_0: &Mat6<N>) -> bool

fn ne(&self, __arg_0: &Mat6<N>) -> bool

impl<N: Eq> Eq for Mat6<N>