Type Alias affinitree::linalg::affine::AffFunc

source ·
pub type AffFunc = AffFuncBase<FunctionT, Owned>;

Aliased Type§

struct AffFunc {
    pub mat: ArrayBase<OwnedRepr<f64>, Dim<[usize; 2]>>,
    pub bias: ArrayBase<OwnedRepr<f64>, Dim<[usize; 1]>>,
    pub _phantom: PhantomData<FunctionT>,
}

Fields§

§mat: ArrayBase<OwnedRepr<f64>, Dim<[usize; 2]>>§bias: ArrayBase<OwnedRepr<f64>, Dim<[usize; 1]>>§_phantom: PhantomData<FunctionT>

Implementations§

source§

impl AffFunc

source

pub fn negate(self) -> AffFunc

source§

impl AffFunc

source

pub fn reset_row(&mut self, row: usize)

Trait Implementations§

source§

impl Add<&AffFuncBase<FunctionT, OwnedRepr<f64>>> for AffFunc

§

type Output = AffFuncBase<FunctionT, OwnedRepr<f64>>

The resulting type after applying the + operator.
source§

fn add(self, other: &AffFunc) -> AffFunc

Performs the + operation. Read more
source§

impl Display for AffFunc

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Neg for AffFunc

§

type Output = AffFuncBase<FunctionT, OwnedRepr<f64>>

The resulting type after applying the - operator.
source§

fn neg(self) -> AffFunc

Performs the unary - operation. Read more
source§

impl Sub for AffFunc

§

type Output = AffFuncBase<FunctionT, OwnedRepr<f64>>

The resulting type after applying the - operator.
source§

fn sub(self, other: AffFunc) -> AffFunc

Performs the - operation. Read more