pub struct Matrix<const I: usize, const J: usize> {
pub m: [[f64; J]; I],
}Expand description
Matrix operations adapted from https://github.com/sloisel/numeric
Fields§
§m: [[f64; J]; I]Implementations§
Source§impl<const I: usize, const J: usize> Matrix<I, J>
impl<const I: usize, const J: usize> Matrix<I, J>
Trait Implementations§
impl<const I: usize, const J: usize> StructuralPartialEq for Matrix<I, J>
Auto Trait Implementations§
impl<const I: usize, const J: usize> Freeze for Matrix<I, J>
impl<const I: usize, const J: usize> RefUnwindSafe for Matrix<I, J>
impl<const I: usize, const J: usize> Send for Matrix<I, J>
impl<const I: usize, const J: usize> Sync for Matrix<I, J>
impl<const I: usize, const J: usize> Unpin for Matrix<I, J>
impl<const I: usize, const J: usize> UnwindSafe for Matrix<I, J>
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more