Trait VectorView

Source
pub trait VectorView<'a>:
    VectorOpsByValue<Self, Self::Owned>
    + VectorOpsByValue<Self::Owned, Self::Owned>
    + for<'b> VectorOpsByValue<&'b Self::Owned, Self::Owned>
    + for<'b> VectorOpsByValue<&'b Self, Self::Owned>
    + Mul<Scale<Self::T>, Output = Self::Owned> {
    type Owned;

    // Required methods
    fn squared_norm(
        &self,
        y: &Self::Owned,
        atol: &Self::Owned,
        rtol: Self::T,
    ) -> Self::T;
    fn into_owned(self) -> Self::Owned;
}

Required Associated Types§

Required Methods§

Source

fn squared_norm( &self, y: &Self::Owned, atol: &Self::Owned, rtol: Self::T, ) -> Self::T

Source

fn into_owned(self) -> Self::Owned

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.

Implementors§

Source§

impl<'a, T: Scalar> VectorView<'a> for FaerVecRef<'a, T>

Source§

impl<'a, T: Scalar> VectorView<'a> for NalgebraVecRef<'a, T>