pub trait VectorTrait: IntoMatrixTrait {
// Provided methods
fn vector_shape_conformity_check(&self) -> Result<(), String> { ... }
fn norm(&self) -> Result<<Self as BasicOperationsTrait>::Value, String>
where <Self as BasicOperationsTrait>::Value: FloatTrait<Output = <Self as BasicOperationsTrait>::Value> { ... }
fn dot_product(
&self,
other: &Self,
) -> Result<<Self as BasicOperationsTrait>::Value, String>
where <Self as BasicOperationsTrait>::Value: FloatTrait<Output = <Self as BasicOperationsTrait>::Value>,
Self: Clone { ... }
}Provided Methods§
fn vector_shape_conformity_check(&self) -> Result<(), String>
fn norm(&self) -> Result<<Self as BasicOperationsTrait>::Value, String>where
<Self as BasicOperationsTrait>::Value: FloatTrait<Output = <Self as BasicOperationsTrait>::Value>,
fn dot_product(
&self,
other: &Self,
) -> Result<<Self as BasicOperationsTrait>::Value, String>where
<Self as BasicOperationsTrait>::Value: FloatTrait<Output = <Self as BasicOperationsTrait>::Value>,
Self: Clone,
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.