mirror of
https://github.com/drewcassidy/vector-victor.git
synced 2024-09-01 14:58:35 +00:00
Correct docs for matrix regarding scalar types
This commit is contained in:
parent
3989c5a8ec
commit
b13fe3dcd2
@ -11,8 +11,7 @@ use std::ops::{Add, AddAssign, Deref, DerefMut, Index, IndexMut, Mul, MulAssign,
|
|||||||
|
|
||||||
/// A 2D array of values which can be operated upon.
|
/// A 2D array of values which can be operated upon.
|
||||||
///
|
///
|
||||||
/// Matrices have a fixed size known at compile time, and must be made up of types that implement
|
/// Matrices have a fixed size known at compile time
|
||||||
/// the [Scalar] trait.
|
|
||||||
#[derive(Debug, Copy, Clone, PartialEq)]
|
#[derive(Debug, Copy, Clone, PartialEq)]
|
||||||
pub struct Matrix<T, const M: usize, const N: usize>
|
pub struct Matrix<T, const M: usize, const N: usize>
|
||||||
where
|
where
|
||||||
|
Loading…
Reference in New Issue
Block a user