Type Alias TensorRank2Vec2D

Source
pub type TensorRank2Vec2D<const D: usize, const I: usize, const J: usize> = TensorVector<TensorRank2Vec<D, I, J>>;

Aliased Type§

pub struct TensorRank2Vec2D<const D: usize, const I: usize, const J: usize>(/* private fields */);

Implementations§

Source§

impl<const D: usize, const I: usize, const J: usize> TensorRank2Vec2D<D, I, J>

Source

pub fn zero(len: usize) -> Self

Trait Implementations§

Source§

impl<const D: usize, const I: usize, const J: usize> Hessian for TensorRank2Vec2D<D, I, J>

Source§

fn fill_into(self, square_matrix: &mut SquareMatrix)

Fills the Hessian into a square matrix.
Source§

fn retain_from(self, retained: &[bool]) -> SquareMatrix

Return only the retained indices.
Source§

impl<const D: usize, const I: usize, const J: usize, const K: usize> Mul<&TensorRank2<D, J, K>> for TensorRank2Vec2D<D, I, J>

Source§

type Output = TensorVector<TensorVector<TensorRank2<D, I, K>>>

The resulting type after applying the * operator.
Source§

fn mul(self, tensor_rank_2: &TensorRank2<D, J, K>) -> Self::Output

Performs the * operation. Read more
Source§

impl<const D: usize, const I: usize, const J: usize, const K: usize> Mul<TensorRank2<D, J, K>> for TensorRank2Vec2D<D, I, J>

Source§

type Output = TensorVector<TensorVector<TensorRank2<D, I, K>>>

The resulting type after applying the * operator.
Source§

fn mul(self, tensor_rank_2: TensorRank2<D, J, K>) -> Self::Output

Performs the * operation. Read more