pub struct Tensor3x3 {
pub data: [[f64; 3]; 3],
}Expand description
A 3×3 real-valued tensor stored in row-major order.
Used for permittivity, permeability, and conductivity of anisotropic media.
Fields§
§data: [[f64; 3]; 3]Row-major elements: data[row][col].
Implementations§
Trait Implementations§
impl Copy for Tensor3x3
impl StructuralPartialEq for Tensor3x3
Auto Trait Implementations§
impl Freeze for Tensor3x3
impl RefUnwindSafe for Tensor3x3
impl Send for Tensor3x3
impl Sync for Tensor3x3
impl Unpin for Tensor3x3
impl UnsafeUnpin for Tensor3x3
impl UnwindSafe for Tensor3x3
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more