Trait IsRealVector

Source
pub trait IsRealVector<S, const ROWS: usize, const BATCH: usize>:
    IsVector<S, ROWS, BATCH, 0, 0>
    + Index<usize, Output = S, Output = S>
    + IndexMut<usize>
    + Copy
where S: IsRealScalar<BATCH> + IsScalar<BATCH, 0, 0>,
{ }
Expand description

A trait representing a real (non-dual) vector, typically VecF64<ROWS>.

These vectors can still use batch types for SIMD, but they do not carry derivative information. This trait also requires indexing support.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl<const ROWS: usize> IsRealVector<f64, ROWS, 1> for Matrix<f64, Const<ROWS>, Const<1>, ArrayStorage<f64, ROWS, 1>>

Implementors§