Skip to main content

TensorRank1List

Type Alias TensorRank1List 

Source
pub type TensorRank1List<const D: usize, I, const N: usize, U = Dimensionless> = TensorList<TensorRank1<D, I, U>, N>;
Expand description

A list of rank-1 tensors.

Aliased Type§

pub struct TensorRank1List<const D: usize, I, const N: usize, U = Dimensionless>(/* private fields */);

Implementations§

Source§

impl<const D: usize, I, const N: usize, U> TensorRank1List<D, I, N, U>

Source

pub fn bounding_box(&self) -> TensorRank1List<D, I, 2, U>

Source§

impl<I, U> TensorRank1List<3, I, 3, U>
where U: UnitMul<U>,

Source

pub fn scalar_triple_product(&self) -> TensorRank0

Returns the scalar triple product, a number as a determinant is.

Trait Implementations§

Source§

impl<const D: usize, I, const W: usize> AssertFd for TensorRank1List<D, I, W>

Source§

fn eq_within_fd_tol( tols: &Assert, a: Self, b: TensorRank1List<D, I, W>, ) -> Result<(), AssertionError>

Source§

impl<const D: usize, I, const W: usize, U> FiniteDifference for TensorRank1List<D, I, W, U>

Source§

fn error_fd( &self, comparator: &Self, epsilon: TensorRank0, ) -> Option<(bool, usize)>

Source§

impl<const D: usize, const N: usize, U> From<TensorList<TensorRank1<D, Projection, U>, N>> for TensorRank1List<D, Reference, N, U>

Source§

fn from(tensor_rank_1_list: TensorRank1List<D, Projection, N, U>) -> Self

Converts to this type from the input type.
Source§

impl<const D: usize, const N: usize, U> From<TensorList<TensorRank1<D, Reference, U>, N>> for TensorRank1List<D, Current, N, U>

Source§

fn from(tensor_rank_1_list: TensorRank1List<D, Reference, N, U>) -> Self

Converts to this type from the input type.
Source§

impl<const D: usize, I, const N: usize, U> From<[[f64; D]; N]> for TensorRank1List<D, I, N, U>

Source§

fn from(array: [[TensorRank0; D]; N]) -> Self

Converts to this type from the input type.
Source§

impl<const D: usize, I, J, const W: usize, U, V> Mul<&TensorList<TensorRank1<D, J, V>, W>> for TensorRank1List<D, I, W, U>
where U: UnitMul<V>,

Source§

type Output = TensorRank2<D, I, J, <U as UnitMul<V>>::Output>

The resulting type after applying the * operator.
Source§

fn mul(self, tensor_rank_1_list: &TensorRank1List<D, J, W, V>) -> Self::Output

Performs the * operation. Read more
Source§

impl<const D: usize, I, J, const W: usize, U, V> Mul<&TensorList<TensorRank1<D, J, V>, W>> for &TensorRank1List<D, I, W, U>
where U: UnitMul<V>,

Source§

type Output = TensorRank2<D, I, J, <U as UnitMul<V>>::Output>

The resulting type after applying the * operator.
Source§

fn mul(self, tensor_rank_1_list: &TensorRank1List<D, J, W, V>) -> Self::Output

Performs the * operation. Read more
Source§

impl<const D: usize, I, J, const W: usize, U, V> Mul<TensorList<TensorRank1<D, J, V>, W>> for TensorRank1List<D, I, W, U>
where U: UnitMul<V>,

Source§

type Output = TensorRank2<D, I, J, <U as UnitMul<V>>::Output>

The resulting type after applying the * operator.
Source§

fn mul(self, tensor_rank_1_list: TensorRank1List<D, J, W, V>) -> Self::Output

Performs the * operation. Read more
Source§

impl<const D: usize, I, J, const W: usize, U, V> Mul<TensorList<TensorRank1<D, J, V>, W>> for &TensorRank1List<D, I, W, U>
where U: UnitMul<V>,

Source§

type Output = TensorRank2<D, I, J, <U as UnitMul<V>>::Output>

The resulting type after applying the * operator.
Source§

fn mul(self, tensor_rank_1_list: TensorRank1List<D, J, W, V>) -> Self::Output

Performs the * operation. Read more