devela::num::alg::linear

Trait NumVector

Source
pub trait NumVector: Num {
    type Scalar;
}
Available on crate feature alg only.
Expand description

A common trait for all vectors.

Required Associated Types§

Source

type Scalar

The associated scalar type.

Implementors§

Source§

impl<T: Num> NumVector for VecVector<T>

Source§

impl<T: Num, const D: usize> NumVector for Vector<T, D>