[−][src]Trait aljabar::One
Defines the multiplicative identity element for Self
.
For Matrices, one
is an alias for the unit matrix.
Required methods
fn one() -> Self
Returns the multiplicative identity for Self
.
fn is_one(&self) -> bool
Returns true if the value is the multiplicative identity.
Implementations on Foreign Types
impl One for bool
[src]
impl One for f32
[src]
impl One for f64
[src]
impl One for i8
[src]
impl One for i16
[src]
impl One for i32
[src]
impl One for i64
[src]
impl One for i128
[src]
impl One for isize
[src]
impl One for u8
[src]
impl One for u16
[src]
impl One for u32
[src]
impl One for u64
[src]
impl One for u128
[src]
impl One for usize
[src]
Loading content...
Implementors
impl<T, const N: usize> One for Matrix<T, { N }, { N }> where
T: Zero + One + Clone,
Self: PartialEq<Self> + SquareMatrix<T, { N }>,
[src]
T: Zero + One + Clone,
Self: PartialEq<Self> + SquareMatrix<T, { N }>,
Constructs a unit matrix.