pub struct Tensor2 { /* fields omitted */ }
Expand description
Implements a second-order tensor, symmetric or not
Returns a new Tensor2, symmetric or not, with 0-valued components
Returns a new Tensor2 constructed from the “standard” components
- tt - the standard components given with respect to an orthonormal Cartesian basis
- symmetric - this is a symmetric tensor
This method panics symmetric=true but the components are not symmetric.
Returns a 2D array with the standard components of this second-order tensor
Implements the Display trait
impl<T> Any for T where
T: 'static + ?Sized,
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
impl<T, U> Into<U> for T where
U: From<T>,
Converts the given value to a String
. Read more
The type returned in the event of a conversion error.
The type returned in the event of a conversion error.