Skip to main content

MatCofactor

Trait MatCofactor 

Source
pub trait MatCofactor<T, Other> {
    // Required method
    fn cofactor(&self, row: u32, column: u32) -> T;
}
Expand description

trait for the cofactor of a matrix the cofactor is the minor with an alternating sign, multiplied by (-1)^(row+column)

Required Methods§

Source

fn cofactor(&self, row: u32, column: u32) -> T

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl<T> MatCofactor<T, T> for Mat2<T>
where T: SignedNumber,

Source§

impl<T> MatCofactor<T, T> for Mat3<T>
where T: SignedNumber,

Source§

impl<T> MatCofactor<T, T> for Mat4<T>
where T: SignedNumber,