Struct nannou::math::Matrix2 [−][src]
A 2 x 2, column major matrix
This type is marked as #[repr(C)]
.
Fields
x: Vector2<S>
The first column of the matrix.
y: Vector2<S>
The second column of the matrix.
Methods
impl<S> Matrix2<S> where
S: BaseFloat,
[src]
impl<S> Matrix2<S> where
S: BaseFloat,
pub fn new(c0r0: S, c0r1: S, c1r0: S, c1r1: S) -> Matrix2<S>
[src]
pub fn new(c0r0: S, c0r1: S, c1r0: S, c1r1: S) -> Matrix2<S>
Create a new matrix, providing values for each index.
pub fn from_cols(c0: Vector2<S>, c1: Vector2<S>) -> Matrix2<S>
[src]
pub fn from_cols(c0: Vector2<S>, c1: Vector2<S>) -> Matrix2<S>
Create a new matrix, providing columns.
pub fn look_at(dir: Vector2<S>, up: Vector2<S>) -> Matrix2<S>
[src]
pub fn look_at(dir: Vector2<S>, up: Vector2<S>) -> Matrix2<S>
Create a transformation matrix that will cause a vector to point at
dir
, using up
for orientation.
pub fn from_angle<A>(theta: A) -> Matrix2<S> where
A: Into<Rad<S>>,
[src]
pub fn from_angle<A>(theta: A) -> Matrix2<S> where
A: Into<Rad<S>>,
impl<S> Matrix2<S> where
S: Copy + NumCast,
[src]
impl<S> Matrix2<S> where
S: Copy + NumCast,
pub fn cast<T>(&self) -> Option<Matrix2<T>> where
T: NumCast,
[src]
pub fn cast<T>(&self) -> Option<Matrix2<T>> where
T: NumCast,
Component-wise casting to another type
Trait Implementations
impl<S> IndexMut<usize> for Matrix2<S>
[src]
impl<S> IndexMut<usize> for Matrix2<S>
fn index_mut(&'a mut self, i: usize) -> &'a mut Vector2<S>
[src]
fn index_mut(&'a mut self, i: usize) -> &'a mut Vector2<S>
Performs the mutable indexing (container[index]
) operation.
impl<S> Zero for Matrix2<S> where
S: BaseFloat,
[src]
impl<S> Zero for Matrix2<S> where
S: BaseFloat,
fn zero() -> Matrix2<S>
[src]
fn zero() -> Matrix2<S>
Returns the additive identity element of Self
, 0
. Read more
fn is_zero(&self) -> bool
[src]
fn is_zero(&self) -> bool
Returns true
if self
is equal to the additive identity.
impl<S> Rand for Matrix2<S> where
S: BaseFloat + Rand,
[src]
impl<S> Rand for Matrix2<S> where
S: BaseFloat + Rand,
fn rand<R>(rng: &mut R) -> Matrix2<S> where
R: Rng,
[src]
fn rand<R>(rng: &mut R) -> Matrix2<S> where
R: Rng,
Generates a random instance of this type using the specified source of randomness. Read more
impl<S> SquareMatrix for Matrix2<S> where
S: BaseFloat,
[src]
impl<S> SquareMatrix for Matrix2<S> where
S: BaseFloat,
type ColumnRow = Vector2<S>
The row/column vector of the matrix. Read more
fn from_value(value: S) -> Matrix2<S>
[src]
fn from_value(value: S) -> Matrix2<S>
Create a new diagonal matrix using the supplied value.
fn from_diagonal(value: Vector2<S>) -> Matrix2<S>
[src]
fn from_diagonal(value: Vector2<S>) -> Matrix2<S>
Create a matrix from a non-uniform scale
fn transpose_self(&mut self)
[src]
fn transpose_self(&mut self)
Transpose this matrix in-place.
fn determinant(&self) -> S
[src]
fn determinant(&self) -> S
Take the determinant of this matrix.
fn diagonal(&self) -> Vector2<S>
[src]
fn diagonal(&self) -> Vector2<S>
Return a vector containing the diagonal of this matrix.
fn invert(&self) -> Option<Matrix2<S>>
[src]
fn invert(&self) -> Option<Matrix2<S>>
Invert this matrix, returning a new matrix. m.mul_m(m.invert())
is the identity matrix. Returns None
if this matrix is not invertible (has a determinant of zero). Read more
fn is_diagonal(&self) -> bool
[src]
fn is_diagonal(&self) -> bool
Test if this is a diagonal matrix. That is, every element outside of the diagonal is 0. Read more
fn is_symmetric(&self) -> bool
[src]
fn is_symmetric(&self) -> bool
Test if this matrix is symmetric. That is, it is equal to its transpose. Read more
fn identity() -> Self
[src]
fn identity() -> Self
The [identity matrix]. Multiplying this matrix with another should have no effect. Read more
fn trace(&self) -> Self::Scalar
[src]
fn trace(&self) -> Self::Scalar
Return the trace of this matrix. That is, the sum of the diagonal.
fn is_invertible(&self) -> bool
[src]
fn is_invertible(&self) -> bool
Test if this matrix is invertible.
fn is_identity(&self) -> bool
[src]
fn is_identity(&self) -> bool
Test if this matrix is the identity matrix. That is, it is diagonal and every element in the diagonal is one. Read more
impl<S> Sub<Matrix2<S>> for Matrix2<S> where
S: BaseFloat,
[src]
impl<S> Sub<Matrix2<S>> for Matrix2<S> where
S: BaseFloat,
type Output = Matrix2<S>
The resulting type after applying the -
operator.
fn sub(self, other: Matrix2<S>) -> Matrix2<S>
[src]
fn sub(self, other: Matrix2<S>) -> Matrix2<S>
Performs the -
operation.
impl<'a, 'b, S> Sub<&'a Matrix2<S>> for &'b Matrix2<S> where
S: BaseFloat,
[src]
impl<'a, 'b, S> Sub<&'a Matrix2<S>> for &'b Matrix2<S> where
S: BaseFloat,
type Output = Matrix2<S>
The resulting type after applying the -
operator.
fn sub(self, other: &'a Matrix2<S>) -> Matrix2<S>
[src]
fn sub(self, other: &'a Matrix2<S>) -> Matrix2<S>
Performs the -
operation.
impl<'a, S> Sub<&'a Matrix2<S>> for Matrix2<S> where
S: BaseFloat,
[src]
impl<'a, S> Sub<&'a Matrix2<S>> for Matrix2<S> where
S: BaseFloat,
type Output = Matrix2<S>
The resulting type after applying the -
operator.
fn sub(self, other: &'a Matrix2<S>) -> Matrix2<S>
[src]
fn sub(self, other: &'a Matrix2<S>) -> Matrix2<S>
Performs the -
operation.
impl<'a, S> Sub<Matrix2<S>> for &'a Matrix2<S> where
S: BaseFloat,
[src]
impl<'a, S> Sub<Matrix2<S>> for &'a Matrix2<S> where
S: BaseFloat,
type Output = Matrix2<S>
The resulting type after applying the -
operator.
fn sub(self, other: Matrix2<S>) -> Matrix2<S>
[src]
fn sub(self, other: Matrix2<S>) -> Matrix2<S>
Performs the -
operation.
impl<S> Clone for Matrix2<S> where
S: Clone,
[src]
impl<S> Clone for Matrix2<S> where
S: Clone,
fn clone(&self) -> Matrix2<S>
[src]
fn clone(&self) -> Matrix2<S>
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl<S> VectorSpace for Matrix2<S> where
S: BaseFloat,
[src]
impl<S> VectorSpace for Matrix2<S> where
S: BaseFloat,
type Scalar = S
The associated scalar.
impl<S> MulAssign<S> for Matrix2<S> where
S: BaseFloat + MulAssign<S>,
[src]
impl<S> MulAssign<S> for Matrix2<S> where
S: BaseFloat + MulAssign<S>,
fn mul_assign(&mut self, scalar: S)
[src]
fn mul_assign(&mut self, scalar: S)
Performs the *=
operation.
impl<S> Debug for Matrix2<S> where
S: Debug,
[src]
impl<S> Debug for Matrix2<S> where
S: Debug,
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
[src]
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
Formats the value using the given formatter. Read more
impl<S> Sum<Matrix2<S>> for Matrix2<S> where
S: BaseFloat,
[src]
impl<S> Sum<Matrix2<S>> for Matrix2<S> where
S: BaseFloat,
fn sum<I>(iter: I) -> Matrix2<S> where
I: Iterator<Item = Matrix2<S>>,
[src]
fn sum<I>(iter: I) -> Matrix2<S> where
I: Iterator<Item = Matrix2<S>>,
Method which takes an iterator and generates Self
from the elements by "summing up" the items. Read more
impl<'a, S> Sum<&'a Matrix2<S>> for Matrix2<S> where
S: 'a + BaseFloat,
[src]
impl<'a, S> Sum<&'a Matrix2<S>> for Matrix2<S> where
S: 'a + BaseFloat,
fn sum<I>(iter: I) -> Matrix2<S> where
I: Iterator<Item = &'a Matrix2<S>>,
[src]
fn sum<I>(iter: I) -> Matrix2<S> where
I: Iterator<Item = &'a Matrix2<S>>,
Method which takes an iterator and generates Self
from the elements by "summing up" the items. Read more
impl<S> RemAssign<S> for Matrix2<S> where
S: BaseFloat + RemAssign<S>,
[src]
impl<S> RemAssign<S> for Matrix2<S> where
S: BaseFloat + RemAssign<S>,
fn rem_assign(&mut self, scalar: S)
[src]
fn rem_assign(&mut self, scalar: S)
Performs the %=
operation.
impl<'a> Mul<&'a Matrix2<i16>> for i16
[src]
impl<'a> Mul<&'a Matrix2<i16>> for i16
type Output = Matrix2<i16>
The resulting type after applying the *
operator.
fn mul(self, other: &'a Matrix2<i16>) -> Matrix2<i16>
[src]
fn mul(self, other: &'a Matrix2<i16>) -> Matrix2<i16>
Performs the *
operation.
impl<'a, S> Mul<&'a Matrix2<S>> for Matrix2<S> where
S: BaseFloat,
[src]
impl<'a, S> Mul<&'a Matrix2<S>> for Matrix2<S> where
S: BaseFloat,
type Output = Matrix2<S>
The resulting type after applying the *
operator.
fn mul(self, other: &'a Matrix2<S>) -> Matrix2<S>
[src]
fn mul(self, other: &'a Matrix2<S>) -> Matrix2<S>
Performs the *
operation.
impl<'a> Mul<&'a Matrix2<u8>> for u8
[src]
impl<'a> Mul<&'a Matrix2<u8>> for u8
type Output = Matrix2<u8>
The resulting type after applying the *
operator.
fn mul(self, other: &'a Matrix2<u8>) -> Matrix2<u8>
[src]
fn mul(self, other: &'a Matrix2<u8>) -> Matrix2<u8>
Performs the *
operation.
impl Mul<Matrix2<u8>> for u8
[src]
impl Mul<Matrix2<u8>> for u8
type Output = Matrix2<u8>
The resulting type after applying the *
operator.
fn mul(self, other: Matrix2<u8>) -> Matrix2<u8>
[src]
fn mul(self, other: Matrix2<u8>) -> Matrix2<u8>
Performs the *
operation.
impl Mul<Matrix2<f32>> for f32
[src]
impl Mul<Matrix2<f32>> for f32
type Output = Matrix2<f32>
The resulting type after applying the *
operator.
fn mul(self, other: Matrix2<f32>) -> Matrix2<f32>
[src]
fn mul(self, other: Matrix2<f32>) -> Matrix2<f32>
Performs the *
operation.
impl<'a> Mul<&'a Matrix2<f64>> for f64
[src]
impl<'a> Mul<&'a Matrix2<f64>> for f64
type Output = Matrix2<f64>
The resulting type after applying the *
operator.
fn mul(self, other: &'a Matrix2<f64>) -> Matrix2<f64>
[src]
fn mul(self, other: &'a Matrix2<f64>) -> Matrix2<f64>
Performs the *
operation.
impl<'a> Mul<&'a Matrix2<usize>> for usize
[src]
impl<'a> Mul<&'a Matrix2<usize>> for usize
type Output = Matrix2<usize>
The resulting type after applying the *
operator.
fn mul(self, other: &'a Matrix2<usize>) -> Matrix2<usize>
[src]
fn mul(self, other: &'a Matrix2<usize>) -> Matrix2<usize>
Performs the *
operation.
impl Mul<Matrix2<i64>> for i64
[src]
impl Mul<Matrix2<i64>> for i64
type Output = Matrix2<i64>
The resulting type after applying the *
operator.
fn mul(self, other: Matrix2<i64>) -> Matrix2<i64>
[src]
fn mul(self, other: Matrix2<i64>) -> Matrix2<i64>
Performs the *
operation.
impl<'a> Mul<&'a Matrix2<f32>> for f32
[src]
impl<'a> Mul<&'a Matrix2<f32>> for f32
type Output = Matrix2<f32>
The resulting type after applying the *
operator.
fn mul(self, other: &'a Matrix2<f32>) -> Matrix2<f32>
[src]
fn mul(self, other: &'a Matrix2<f32>) -> Matrix2<f32>
Performs the *
operation.
impl<'a> Mul<&'a Matrix2<isize>> for isize
[src]
impl<'a> Mul<&'a Matrix2<isize>> for isize
type Output = Matrix2<isize>
The resulting type after applying the *
operator.
fn mul(self, other: &'a Matrix2<isize>) -> Matrix2<isize>
[src]
fn mul(self, other: &'a Matrix2<isize>) -> Matrix2<isize>
Performs the *
operation.
impl Mul<Matrix2<u32>> for u32
[src]
impl Mul<Matrix2<u32>> for u32
type Output = Matrix2<u32>
The resulting type after applying the *
operator.
fn mul(self, other: Matrix2<u32>) -> Matrix2<u32>
[src]
fn mul(self, other: Matrix2<u32>) -> Matrix2<u32>
Performs the *
operation.
impl<'a, S> Mul<S> for &'a Matrix2<S> where
S: BaseFloat,
[src]
impl<'a, S> Mul<S> for &'a Matrix2<S> where
S: BaseFloat,
type Output = Matrix2<S>
The resulting type after applying the *
operator.
fn mul(self, other: S) -> Matrix2<S>
[src]
fn mul(self, other: S) -> Matrix2<S>
Performs the *
operation.
impl<'a> Mul<&'a Matrix2<u16>> for u16
[src]
impl<'a> Mul<&'a Matrix2<u16>> for u16
type Output = Matrix2<u16>
The resulting type after applying the *
operator.
fn mul(self, other: &'a Matrix2<u16>) -> Matrix2<u16>
[src]
fn mul(self, other: &'a Matrix2<u16>) -> Matrix2<u16>
Performs the *
operation.
impl<'a, 'b, S> Mul<&'a Matrix2<S>> for &'b Matrix2<S> where
S: BaseFloat,
[src]
impl<'a, 'b, S> Mul<&'a Matrix2<S>> for &'b Matrix2<S> where
S: BaseFloat,
type Output = Matrix2<S>
The resulting type after applying the *
operator.
fn mul(self, other: &'a Matrix2<S>) -> Matrix2<S>
[src]
fn mul(self, other: &'a Matrix2<S>) -> Matrix2<S>
Performs the *
operation.
impl Mul<Matrix2<isize>> for isize
[src]
impl Mul<Matrix2<isize>> for isize
type Output = Matrix2<isize>
The resulting type after applying the *
operator.
fn mul(self, other: Matrix2<isize>) -> Matrix2<isize>
[src]
fn mul(self, other: Matrix2<isize>) -> Matrix2<isize>
Performs the *
operation.
impl<'a, S> Mul<Vector2<S>> for &'a Matrix2<S> where
S: BaseFloat,
[src]
impl<'a, S> Mul<Vector2<S>> for &'a Matrix2<S> where
S: BaseFloat,
type Output = Vector2<S>
The resulting type after applying the *
operator.
fn mul(self, other: Vector2<S>) -> Vector2<S>
[src]
fn mul(self, other: Vector2<S>) -> Vector2<S>
Performs the *
operation.
impl Mul<Matrix2<i16>> for i16
[src]
impl Mul<Matrix2<i16>> for i16
type Output = Matrix2<i16>
The resulting type after applying the *
operator.
fn mul(self, other: Matrix2<i16>) -> Matrix2<i16>
[src]
fn mul(self, other: Matrix2<i16>) -> Matrix2<i16>
Performs the *
operation.
impl Mul<Matrix2<u64>> for u64
[src]
impl Mul<Matrix2<u64>> for u64
type Output = Matrix2<u64>
The resulting type after applying the *
operator.
fn mul(self, other: Matrix2<u64>) -> Matrix2<u64>
[src]
fn mul(self, other: Matrix2<u64>) -> Matrix2<u64>
Performs the *
operation.
impl Mul<Matrix2<i32>> for i32
[src]
impl Mul<Matrix2<i32>> for i32
type Output = Matrix2<i32>
The resulting type after applying the *
operator.
fn mul(self, other: Matrix2<i32>) -> Matrix2<i32>
[src]
fn mul(self, other: Matrix2<i32>) -> Matrix2<i32>
Performs the *
operation.
impl<'a, S> Mul<Matrix2<S>> for &'a Matrix2<S> where
S: BaseFloat,
[src]
impl<'a, S> Mul<Matrix2<S>> for &'a Matrix2<S> where
S: BaseFloat,
type Output = Matrix2<S>
The resulting type after applying the *
operator.
fn mul(self, other: Matrix2<S>) -> Matrix2<S>
[src]
fn mul(self, other: Matrix2<S>) -> Matrix2<S>
Performs the *
operation.
impl<S> Mul<S> for Matrix2<S> where
S: BaseFloat,
[src]
impl<S> Mul<S> for Matrix2<S> where
S: BaseFloat,
type Output = Matrix2<S>
The resulting type after applying the *
operator.
fn mul(self, other: S) -> Matrix2<S>
[src]
fn mul(self, other: S) -> Matrix2<S>
Performs the *
operation.
impl Mul<Matrix2<u16>> for u16
[src]
impl Mul<Matrix2<u16>> for u16
type Output = Matrix2<u16>
The resulting type after applying the *
operator.
fn mul(self, other: Matrix2<u16>) -> Matrix2<u16>
[src]
fn mul(self, other: Matrix2<u16>) -> Matrix2<u16>
Performs the *
operation.
impl Mul<Matrix2<usize>> for usize
[src]
impl Mul<Matrix2<usize>> for usize
type Output = Matrix2<usize>
The resulting type after applying the *
operator.
fn mul(self, other: Matrix2<usize>) -> Matrix2<usize>
[src]
fn mul(self, other: Matrix2<usize>) -> Matrix2<usize>
Performs the *
operation.
impl<'a> Mul<&'a Matrix2<u64>> for u64
[src]
impl<'a> Mul<&'a Matrix2<u64>> for u64
type Output = Matrix2<u64>
The resulting type after applying the *
operator.
fn mul(self, other: &'a Matrix2<u64>) -> Matrix2<u64>
[src]
fn mul(self, other: &'a Matrix2<u64>) -> Matrix2<u64>
Performs the *
operation.
impl<'a> Mul<&'a Matrix2<i64>> for i64
[src]
impl<'a> Mul<&'a Matrix2<i64>> for i64
type Output = Matrix2<i64>
The resulting type after applying the *
operator.
fn mul(self, other: &'a Matrix2<i64>) -> Matrix2<i64>
[src]
fn mul(self, other: &'a Matrix2<i64>) -> Matrix2<i64>
Performs the *
operation.
impl<'a, 'b, S> Mul<&'a Vector2<S>> for &'b Matrix2<S> where
S: BaseFloat,
[src]
impl<'a, 'b, S> Mul<&'a Vector2<S>> for &'b Matrix2<S> where
S: BaseFloat,
type Output = Vector2<S>
The resulting type after applying the *
operator.
fn mul(self, other: &'a Vector2<S>) -> Vector2<S>
[src]
fn mul(self, other: &'a Vector2<S>) -> Vector2<S>
Performs the *
operation.
impl<'a> Mul<&'a Matrix2<u32>> for u32
[src]
impl<'a> Mul<&'a Matrix2<u32>> for u32
type Output = Matrix2<u32>
The resulting type after applying the *
operator.
fn mul(self, other: &'a Matrix2<u32>) -> Matrix2<u32>
[src]
fn mul(self, other: &'a Matrix2<u32>) -> Matrix2<u32>
Performs the *
operation.
impl<'a> Mul<&'a Matrix2<i32>> for i32
[src]
impl<'a> Mul<&'a Matrix2<i32>> for i32
type Output = Matrix2<i32>
The resulting type after applying the *
operator.
fn mul(self, other: &'a Matrix2<i32>) -> Matrix2<i32>
[src]
fn mul(self, other: &'a Matrix2<i32>) -> Matrix2<i32>
Performs the *
operation.
impl<S> Mul<Vector2<S>> for Matrix2<S> where
S: BaseFloat,
[src]
impl<S> Mul<Vector2<S>> for Matrix2<S> where
S: BaseFloat,
type Output = Vector2<S>
The resulting type after applying the *
operator.
fn mul(self, other: Vector2<S>) -> Vector2<S>
[src]
fn mul(self, other: Vector2<S>) -> Vector2<S>
Performs the *
operation.
impl<'a> Mul<&'a Matrix2<i8>> for i8
[src]
impl<'a> Mul<&'a Matrix2<i8>> for i8
type Output = Matrix2<i8>
The resulting type after applying the *
operator.
fn mul(self, other: &'a Matrix2<i8>) -> Matrix2<i8>
[src]
fn mul(self, other: &'a Matrix2<i8>) -> Matrix2<i8>
Performs the *
operation.
impl Mul<Matrix2<f64>> for f64
[src]
impl Mul<Matrix2<f64>> for f64
type Output = Matrix2<f64>
The resulting type after applying the *
operator.
fn mul(self, other: Matrix2<f64>) -> Matrix2<f64>
[src]
fn mul(self, other: Matrix2<f64>) -> Matrix2<f64>
Performs the *
operation.
impl<S> Mul<Matrix2<S>> for Matrix2<S> where
S: BaseFloat,
[src]
impl<S> Mul<Matrix2<S>> for Matrix2<S> where
S: BaseFloat,
type Output = Matrix2<S>
The resulting type after applying the *
operator.
fn mul(self, other: Matrix2<S>) -> Matrix2<S>
[src]
fn mul(self, other: Matrix2<S>) -> Matrix2<S>
Performs the *
operation.
impl Mul<Matrix2<i8>> for i8
[src]
impl Mul<Matrix2<i8>> for i8
type Output = Matrix2<i8>
The resulting type after applying the *
operator.
fn mul(self, other: Matrix2<i8>) -> Matrix2<i8>
[src]
fn mul(self, other: Matrix2<i8>) -> Matrix2<i8>
Performs the *
operation.
impl<'a, S> Mul<&'a Vector2<S>> for Matrix2<S> where
S: BaseFloat,
[src]
impl<'a, S> Mul<&'a Vector2<S>> for Matrix2<S> where
S: BaseFloat,
type Output = Vector2<S>
The resulting type after applying the *
operator.
fn mul(self, other: &'a Vector2<S>) -> Vector2<S>
[src]
fn mul(self, other: &'a Vector2<S>) -> Vector2<S>
Performs the *
operation.
impl<S> One for Matrix2<S> where
S: BaseFloat,
[src]
impl<S> One for Matrix2<S> where
S: BaseFloat,
fn one() -> Matrix2<S>
[src]
fn one() -> Matrix2<S>
Returns the multiplicative identity element of Self
, 1
. Read more
fn is_one(&self) -> bool where
Self: PartialEq<Self>,
[src]
fn is_one(&self) -> bool where
Self: PartialEq<Self>,
Returns true
if self
is equal to the multiplicative identity. Read more
impl<S> Serialize for Matrix2<S> where
S: Serialize,
[src]
impl<S> Serialize for Matrix2<S> where
S: Serialize,
fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
[src]
fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl<'a, S> Neg for &'a Matrix2<S> where
S: BaseFloat,
[src]
impl<'a, S> Neg for &'a Matrix2<S> where
S: BaseFloat,
type Output = Matrix2<S>
The resulting type after applying the -
operator.
fn neg(self) -> Matrix2<S>
[src]
fn neg(self) -> Matrix2<S>
Performs the unary -
operation.
impl<S> Neg for Matrix2<S> where
S: BaseFloat,
[src]
impl<S> Neg for Matrix2<S> where
S: BaseFloat,
type Output = Matrix2<S>
The resulting type after applying the -
operator.
fn neg(self) -> Matrix2<S>
[src]
fn neg(self) -> Matrix2<S>
Performs the unary -
operation.
impl<S> AsRef<[[S; 2]; 2]> for Matrix2<S>
[src]
impl<S> AsRef<[[S; 2]; 2]> for Matrix2<S>
impl<S> AsRef<[S; 4]> for Matrix2<S>
[src]
impl<S> AsRef<[S; 4]> for Matrix2<S>
impl<S> AsRef<Matrix2<S>> for Basis2<S> where
S: BaseFloat,
[src]
impl<S> AsRef<Matrix2<S>> for Basis2<S> where
S: BaseFloat,
impl<'de, S> Deserialize<'de> for Matrix2<S> where
S: Deserialize<'de>,
[src]
impl<'de, S> Deserialize<'de> for Matrix2<S> where
S: Deserialize<'de>,
fn deserialize<__D>(
__deserializer: __D
) -> Result<Matrix2<S>, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
[src]
fn deserialize<__D>(
__deserializer: __D
) -> Result<Matrix2<S>, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl<S> From<Basis2<S>> for Matrix2<S> where
S: BaseFloat,
[src]
impl<S> From<Basis2<S>> for Matrix2<S> where
S: BaseFloat,
impl<S> From<Matrix2<S>> for Matrix3<S> where
S: BaseFloat,
[src]
impl<S> From<Matrix2<S>> for Matrix3<S> where
S: BaseFloat,
fn from(m: Matrix2<S>) -> Matrix3<S>
[src]
fn from(m: Matrix2<S>) -> Matrix3<S>
Clone the elements of a 2-dimensional matrix into the top-left corner of a 3-dimensional identity matrix.
impl<'a, S> From<&'a mut [S; 4]> for &'a mut Matrix2<S>
[src]
impl<'a, S> From<&'a mut [S; 4]> for &'a mut Matrix2<S>
impl<S> From<[[S; 2]; 2]> for Matrix2<S> where
S: Copy,
[src]
impl<S> From<[[S; 2]; 2]> for Matrix2<S> where
S: Copy,
impl<S> From<Matrix2<S>> for Matrix4<S> where
S: BaseFloat,
[src]
impl<S> From<Matrix2<S>> for Matrix4<S> where
S: BaseFloat,
fn from(m: Matrix2<S>) -> Matrix4<S>
[src]
fn from(m: Matrix2<S>) -> Matrix4<S>
Clone the elements of a 2-dimensional matrix into the top-left corner of a 4-dimensional identity matrix.
impl<'a, S> From<&'a [[S; 2]; 2]> for &'a Matrix2<S>
[src]
impl<'a, S> From<&'a [[S; 2]; 2]> for &'a Matrix2<S>
impl<'a, S> From<&'a [S; 4]> for &'a Matrix2<S>
[src]
impl<'a, S> From<&'a [S; 4]> for &'a Matrix2<S>
impl<'a, S> From<&'a mut [[S; 2]; 2]> for &'a mut Matrix2<S>
[src]
impl<'a, S> From<&'a mut [[S; 2]; 2]> for &'a mut Matrix2<S>
impl<S> AddAssign<Matrix2<S>> for Matrix2<S> where
S: BaseFloat + AddAssign<S>,
[src]
impl<S> AddAssign<Matrix2<S>> for Matrix2<S> where
S: BaseFloat + AddAssign<S>,
fn add_assign(&mut self, other: Matrix2<S>)
[src]
fn add_assign(&mut self, other: Matrix2<S>)
Performs the +=
operation.
impl<S> ApproxEq for Matrix2<S> where
S: BaseFloat,
[src]
impl<S> ApproxEq for Matrix2<S> where
S: BaseFloat,
type Epsilon = <S as ApproxEq>::Epsilon
Used for specifying relative comparisons.
fn default_epsilon() -> <S as ApproxEq>::Epsilon
[src]
fn default_epsilon() -> <S as ApproxEq>::Epsilon
The default tolerance to use when testing values that are close together. Read more
fn default_max_relative() -> <S as ApproxEq>::Epsilon
[src]
fn default_max_relative() -> <S as ApproxEq>::Epsilon
The default relative tolerance for testing values that are far-apart. Read more
fn default_max_ulps() -> u32
[src]
fn default_max_ulps() -> u32
The default ULPs to tolerate when testing values that are far-apart. Read more
fn relative_eq(
&self,
other: &Matrix2<S>,
epsilon: <S as ApproxEq>::Epsilon,
max_relative: <S as ApproxEq>::Epsilon
) -> bool
[src]
fn relative_eq(
&self,
other: &Matrix2<S>,
epsilon: <S as ApproxEq>::Epsilon,
max_relative: <S as ApproxEq>::Epsilon
) -> bool
A test for equality that uses a relative comparison if the values are far apart.
fn ulps_eq(
&self,
other: &Matrix2<S>,
epsilon: <S as ApproxEq>::Epsilon,
max_ulps: u32
) -> bool
[src]
fn ulps_eq(
&self,
other: &Matrix2<S>,
epsilon: <S as ApproxEq>::Epsilon,
max_ulps: u32
) -> bool
A test for equality that uses units in the last place (ULP) if the values are far apart.
fn relative_ne(
&self,
other: &Self,
epsilon: Self::Epsilon,
max_relative: Self::Epsilon
) -> bool
[src]
fn relative_ne(
&self,
other: &Self,
epsilon: Self::Epsilon,
max_relative: Self::Epsilon
) -> bool
The inverse of ApproxEq::relative_eq
.
fn ulps_ne(&self, other: &Self, epsilon: Self::Epsilon, max_ulps: u32) -> bool
[src]
fn ulps_ne(&self, other: &Self, epsilon: Self::Epsilon, max_ulps: u32) -> bool
The inverse of ApproxEq::ulps_eq
.
impl<S> Into<[[S; 2]; 2]> for Matrix2<S>
[src]
impl<S> Into<[[S; 2]; 2]> for Matrix2<S>
impl<S> Index<usize> for Matrix2<S>
[src]
impl<S> Index<usize> for Matrix2<S>
type Output = Vector2<S>
The returned type after indexing.
fn index(&'a self, i: usize) -> &'a Vector2<S>
[src]
fn index(&'a self, i: usize) -> &'a Vector2<S>
Performs the indexing (container[index]
) operation.
impl<'a, S> Add<&'a Matrix2<S>> for Matrix2<S> where
S: BaseFloat,
[src]
impl<'a, S> Add<&'a Matrix2<S>> for Matrix2<S> where
S: BaseFloat,
type Output = Matrix2<S>
The resulting type after applying the +
operator.
fn add(self, other: &'a Matrix2<S>) -> Matrix2<S>
[src]
fn add(self, other: &'a Matrix2<S>) -> Matrix2<S>
Performs the +
operation.
impl<'a, S> Add<Matrix2<S>> for &'a Matrix2<S> where
S: BaseFloat,
[src]
impl<'a, S> Add<Matrix2<S>> for &'a Matrix2<S> where
S: BaseFloat,
type Output = Matrix2<S>
The resulting type after applying the +
operator.
fn add(self, other: Matrix2<S>) -> Matrix2<S>
[src]
fn add(self, other: Matrix2<S>) -> Matrix2<S>
Performs the +
operation.
impl<S> Add<Matrix2<S>> for Matrix2<S> where
S: BaseFloat,
[src]
impl<S> Add<Matrix2<S>> for Matrix2<S> where
S: BaseFloat,
type Output = Matrix2<S>
The resulting type after applying the +
operator.
fn add(self, other: Matrix2<S>) -> Matrix2<S>
[src]
fn add(self, other: Matrix2<S>) -> Matrix2<S>
Performs the +
operation.
impl<'a, 'b, S> Add<&'a Matrix2<S>> for &'b Matrix2<S> where
S: BaseFloat,
[src]
impl<'a, 'b, S> Add<&'a Matrix2<S>> for &'b Matrix2<S> where
S: BaseFloat,
type Output = Matrix2<S>
The resulting type after applying the +
operator.
fn add(self, other: &'a Matrix2<S>) -> Matrix2<S>
[src]
fn add(self, other: &'a Matrix2<S>) -> Matrix2<S>
Performs the +
operation.
impl<S> Matrix for Matrix2<S> where
S: BaseFloat,
[src]
impl<S> Matrix for Matrix2<S> where
S: BaseFloat,
type Column = Vector2<S>
The column vector of the matrix.
type Row = Vector2<S>
The row vector of the matrix.
type Transpose = Matrix2<S>
The result of transposing the matrix
fn row(&self, r: usize) -> Vector2<S>
[src]
fn row(&self, r: usize) -> Vector2<S>
Get a row from this matrix by-value.
fn swap_rows(&mut self, a: usize, b: usize)
[src]
fn swap_rows(&mut self, a: usize, b: usize)
Swap two rows of this array.
fn swap_columns(&mut self, a: usize, b: usize)
[src]
fn swap_columns(&mut self, a: usize, b: usize)
Swap two columns of this array.
fn swap_elements(&mut self, a: (usize, usize), b: (usize, usize))
[src]
fn swap_elements(&mut self, a: (usize, usize), b: (usize, usize))
Swap the values at index a
and b
fn transpose(&self) -> Matrix2<S>
[src]
fn transpose(&self) -> Matrix2<S>
Transpose this matrix, returning a new matrix.
fn as_ptr(&self) -> *const Self::Scalar
[src]
fn as_ptr(&self) -> *const Self::Scalar
Get the pointer to the first element of the array.
fn as_mut_ptr(&mut self) -> *mut Self::Scalar
[src]
fn as_mut_ptr(&mut self) -> *mut Self::Scalar
Get a mutable pointer to the first element of the array.
fn replace_col(&mut self, c: usize, src: Self::Column) -> Self::Column
[src]
fn replace_col(&mut self, c: usize, src: Self::Column) -> Self::Column
Replace a column in the array.
impl<S> Product<Matrix2<S>> for Matrix2<S> where
S: BaseFloat,
[src]
impl<S> Product<Matrix2<S>> for Matrix2<S> where
S: BaseFloat,
fn product<I>(iter: I) -> Matrix2<S> where
I: Iterator<Item = Matrix2<S>>,
[src]
fn product<I>(iter: I) -> Matrix2<S> where
I: Iterator<Item = Matrix2<S>>,
Method which takes an iterator and generates Self
from the elements by multiplying the items. Read more
impl<'a, S> Product<&'a Matrix2<S>> for Matrix2<S> where
S: 'a + BaseFloat,
[src]
impl<'a, S> Product<&'a Matrix2<S>> for Matrix2<S> where
S: 'a + BaseFloat,
fn product<I>(iter: I) -> Matrix2<S> where
I: Iterator<Item = &'a Matrix2<S>>,
[src]
fn product<I>(iter: I) -> Matrix2<S> where
I: Iterator<Item = &'a Matrix2<S>>,
Method which takes an iterator and generates Self
from the elements by multiplying the items. Read more
impl<'a> Rem<&'a Matrix2<u8>> for u8
[src]
impl<'a> Rem<&'a Matrix2<u8>> for u8
type Output = Matrix2<u8>
The resulting type after applying the %
operator.
fn rem(self, other: &'a Matrix2<u8>) -> Matrix2<u8>
[src]
fn rem(self, other: &'a Matrix2<u8>) -> Matrix2<u8>
Performs the %
operation.
impl<'a, S> Rem<S> for &'a Matrix2<S> where
S: BaseFloat,
[src]
impl<'a, S> Rem<S> for &'a Matrix2<S> where
S: BaseFloat,
type Output = Matrix2<S>
The resulting type after applying the %
operator.
fn rem(self, other: S) -> Matrix2<S>
[src]
fn rem(self, other: S) -> Matrix2<S>
Performs the %
operation.
impl Rem<Matrix2<usize>> for usize
[src]
impl Rem<Matrix2<usize>> for usize
type Output = Matrix2<usize>
The resulting type after applying the %
operator.
fn rem(self, other: Matrix2<usize>) -> Matrix2<usize>
[src]
fn rem(self, other: Matrix2<usize>) -> Matrix2<usize>
Performs the %
operation.
impl<S> Rem<S> for Matrix2<S> where
S: BaseFloat,
[src]
impl<S> Rem<S> for Matrix2<S> where
S: BaseFloat,
type Output = Matrix2<S>
The resulting type after applying the %
operator.
fn rem(self, other: S) -> Matrix2<S>
[src]
fn rem(self, other: S) -> Matrix2<S>
Performs the %
operation.
impl Rem<Matrix2<i32>> for i32
[src]
impl Rem<Matrix2<i32>> for i32
type Output = Matrix2<i32>
The resulting type after applying the %
operator.
fn rem(self, other: Matrix2<i32>) -> Matrix2<i32>
[src]
fn rem(self, other: Matrix2<i32>) -> Matrix2<i32>
Performs the %
operation.
impl Rem<Matrix2<isize>> for isize
[src]
impl Rem<Matrix2<isize>> for isize
type Output = Matrix2<isize>
The resulting type after applying the %
operator.
fn rem(self, other: Matrix2<isize>) -> Matrix2<isize>
[src]
fn rem(self, other: Matrix2<isize>) -> Matrix2<isize>
Performs the %
operation.
impl Rem<Matrix2<i8>> for i8
[src]
impl Rem<Matrix2<i8>> for i8
type Output = Matrix2<i8>
The resulting type after applying the %
operator.
fn rem(self, other: Matrix2<i8>) -> Matrix2<i8>
[src]
fn rem(self, other: Matrix2<i8>) -> Matrix2<i8>
Performs the %
operation.
impl Rem<Matrix2<u32>> for u32
[src]
impl Rem<Matrix2<u32>> for u32
type Output = Matrix2<u32>
The resulting type after applying the %
operator.
fn rem(self, other: Matrix2<u32>) -> Matrix2<u32>
[src]
fn rem(self, other: Matrix2<u32>) -> Matrix2<u32>
Performs the %
operation.
impl<'a> Rem<&'a Matrix2<i8>> for i8
[src]
impl<'a> Rem<&'a Matrix2<i8>> for i8
type Output = Matrix2<i8>
The resulting type after applying the %
operator.
fn rem(self, other: &'a Matrix2<i8>) -> Matrix2<i8>
[src]
fn rem(self, other: &'a Matrix2<i8>) -> Matrix2<i8>
Performs the %
operation.
impl Rem<Matrix2<f64>> for f64
[src]
impl Rem<Matrix2<f64>> for f64
type Output = Matrix2<f64>
The resulting type after applying the %
operator.
fn rem(self, other: Matrix2<f64>) -> Matrix2<f64>
[src]
fn rem(self, other: Matrix2<f64>) -> Matrix2<f64>
Performs the %
operation.
impl<'a> Rem<&'a Matrix2<i16>> for i16
[src]
impl<'a> Rem<&'a Matrix2<i16>> for i16
type Output = Matrix2<i16>
The resulting type after applying the %
operator.
fn rem(self, other: &'a Matrix2<i16>) -> Matrix2<i16>
[src]
fn rem(self, other: &'a Matrix2<i16>) -> Matrix2<i16>
Performs the %
operation.
impl<'a> Rem<&'a Matrix2<f64>> for f64
[src]
impl<'a> Rem<&'a Matrix2<f64>> for f64
type Output = Matrix2<f64>
The resulting type after applying the %
operator.
fn rem(self, other: &'a Matrix2<f64>) -> Matrix2<f64>
[src]
fn rem(self, other: &'a Matrix2<f64>) -> Matrix2<f64>
Performs the %
operation.
impl Rem<Matrix2<u8>> for u8
[src]
impl Rem<Matrix2<u8>> for u8
type Output = Matrix2<u8>
The resulting type after applying the %
operator.
fn rem(self, other: Matrix2<u8>) -> Matrix2<u8>
[src]
fn rem(self, other: Matrix2<u8>) -> Matrix2<u8>
Performs the %
operation.
impl Rem<Matrix2<u16>> for u16
[src]
impl Rem<Matrix2<u16>> for u16
type Output = Matrix2<u16>
The resulting type after applying the %
operator.
fn rem(self, other: Matrix2<u16>) -> Matrix2<u16>
[src]
fn rem(self, other: Matrix2<u16>) -> Matrix2<u16>
Performs the %
operation.
impl Rem<Matrix2<f32>> for f32
[src]
impl Rem<Matrix2<f32>> for f32
type Output = Matrix2<f32>
The resulting type after applying the %
operator.
fn rem(self, other: Matrix2<f32>) -> Matrix2<f32>
[src]
fn rem(self, other: Matrix2<f32>) -> Matrix2<f32>
Performs the %
operation.
impl<'a> Rem<&'a Matrix2<usize>> for usize
[src]
impl<'a> Rem<&'a Matrix2<usize>> for usize
type Output = Matrix2<usize>
The resulting type after applying the %
operator.
fn rem(self, other: &'a Matrix2<usize>) -> Matrix2<usize>
[src]
fn rem(self, other: &'a Matrix2<usize>) -> Matrix2<usize>
Performs the %
operation.
impl<'a> Rem<&'a Matrix2<isize>> for isize
[src]
impl<'a> Rem<&'a Matrix2<isize>> for isize
type Output = Matrix2<isize>
The resulting type after applying the %
operator.
fn rem(self, other: &'a Matrix2<isize>) -> Matrix2<isize>
[src]
fn rem(self, other: &'a Matrix2<isize>) -> Matrix2<isize>
Performs the %
operation.
impl Rem<Matrix2<u64>> for u64
[src]
impl Rem<Matrix2<u64>> for u64
type Output = Matrix2<u64>
The resulting type after applying the %
operator.
fn rem(self, other: Matrix2<u64>) -> Matrix2<u64>
[src]
fn rem(self, other: Matrix2<u64>) -> Matrix2<u64>
Performs the %
operation.
impl<'a> Rem<&'a Matrix2<u16>> for u16
[src]
impl<'a> Rem<&'a Matrix2<u16>> for u16
type Output = Matrix2<u16>
The resulting type after applying the %
operator.
fn rem(self, other: &'a Matrix2<u16>) -> Matrix2<u16>
[src]
fn rem(self, other: &'a Matrix2<u16>) -> Matrix2<u16>
Performs the %
operation.
impl<'a> Rem<&'a Matrix2<u32>> for u32
[src]
impl<'a> Rem<&'a Matrix2<u32>> for u32
type Output = Matrix2<u32>
The resulting type after applying the %
operator.
fn rem(self, other: &'a Matrix2<u32>) -> Matrix2<u32>
[src]
fn rem(self, other: &'a Matrix2<u32>) -> Matrix2<u32>
Performs the %
operation.
impl<'a> Rem<&'a Matrix2<i32>> for i32
[src]
impl<'a> Rem<&'a Matrix2<i32>> for i32
type Output = Matrix2<i32>
The resulting type after applying the %
operator.
fn rem(self, other: &'a Matrix2<i32>) -> Matrix2<i32>
[src]
fn rem(self, other: &'a Matrix2<i32>) -> Matrix2<i32>
Performs the %
operation.
impl Rem<Matrix2<i64>> for i64
[src]
impl Rem<Matrix2<i64>> for i64
type Output = Matrix2<i64>
The resulting type after applying the %
operator.
fn rem(self, other: Matrix2<i64>) -> Matrix2<i64>
[src]
fn rem(self, other: Matrix2<i64>) -> Matrix2<i64>
Performs the %
operation.
impl Rem<Matrix2<i16>> for i16
[src]
impl Rem<Matrix2<i16>> for i16
type Output = Matrix2<i16>
The resulting type after applying the %
operator.
fn rem(self, other: Matrix2<i16>) -> Matrix2<i16>
[src]
fn rem(self, other: Matrix2<i16>) -> Matrix2<i16>
Performs the %
operation.
impl<'a> Rem<&'a Matrix2<f32>> for f32
[src]
impl<'a> Rem<&'a Matrix2<f32>> for f32
type Output = Matrix2<f32>
The resulting type after applying the %
operator.
fn rem(self, other: &'a Matrix2<f32>) -> Matrix2<f32>
[src]
fn rem(self, other: &'a Matrix2<f32>) -> Matrix2<f32>
Performs the %
operation.
impl<'a> Rem<&'a Matrix2<i64>> for i64
[src]
impl<'a> Rem<&'a Matrix2<i64>> for i64
type Output = Matrix2<i64>
The resulting type after applying the %
operator.
fn rem(self, other: &'a Matrix2<i64>) -> Matrix2<i64>
[src]
fn rem(self, other: &'a Matrix2<i64>) -> Matrix2<i64>
Performs the %
operation.
impl<'a> Rem<&'a Matrix2<u64>> for u64
[src]
impl<'a> Rem<&'a Matrix2<u64>> for u64
type Output = Matrix2<u64>
The resulting type after applying the %
operator.
fn rem(self, other: &'a Matrix2<u64>) -> Matrix2<u64>
[src]
fn rem(self, other: &'a Matrix2<u64>) -> Matrix2<u64>
Performs the %
operation.
impl<S> SubAssign<Matrix2<S>> for Matrix2<S> where
S: BaseFloat + SubAssign<S>,
[src]
impl<S> SubAssign<Matrix2<S>> for Matrix2<S> where
S: BaseFloat + SubAssign<S>,
fn sub_assign(&mut self, other: Matrix2<S>)
[src]
fn sub_assign(&mut self, other: Matrix2<S>)
Performs the -=
operation.
impl<S> AsMut<[S; 4]> for Matrix2<S>
[src]
impl<S> AsMut<[S; 4]> for Matrix2<S>
impl<S> AsMut<[[S; 2]; 2]> for Matrix2<S>
[src]
impl<S> AsMut<[[S; 2]; 2]> for Matrix2<S>
impl<S> Copy for Matrix2<S> where
S: Copy,
[src]
impl<S> Copy for Matrix2<S> where
S: Copy,
impl<S> DivAssign<S> for Matrix2<S> where
S: BaseFloat + DivAssign<S>,
[src]
impl<S> DivAssign<S> for Matrix2<S> where
S: BaseFloat + DivAssign<S>,
fn div_assign(&mut self, scalar: S)
[src]
fn div_assign(&mut self, scalar: S)
Performs the /=
operation.
impl<S> PartialEq<Matrix2<S>> for Matrix2<S> where
S: PartialEq<S>,
[src]
impl<S> PartialEq<Matrix2<S>> for Matrix2<S> where
S: PartialEq<S>,
fn eq(&self, other: &Matrix2<S>) -> bool
[src]
fn eq(&self, other: &Matrix2<S>) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Matrix2<S>) -> bool
[src]
fn ne(&self, other: &Matrix2<S>) -> bool
This method tests for !=
.
impl<'a> Div<&'a Matrix2<i16>> for i16
[src]
impl<'a> Div<&'a Matrix2<i16>> for i16
type Output = Matrix2<i16>
The resulting type after applying the /
operator.
fn div(self, other: &'a Matrix2<i16>) -> Matrix2<i16>
[src]
fn div(self, other: &'a Matrix2<i16>) -> Matrix2<i16>
Performs the /
operation.
impl<'a> Div<&'a Matrix2<u64>> for u64
[src]
impl<'a> Div<&'a Matrix2<u64>> for u64
type Output = Matrix2<u64>
The resulting type after applying the /
operator.
fn div(self, other: &'a Matrix2<u64>) -> Matrix2<u64>
[src]
fn div(self, other: &'a Matrix2<u64>) -> Matrix2<u64>
Performs the /
operation.
impl<'a> Div<&'a Matrix2<u32>> for u32
[src]
impl<'a> Div<&'a Matrix2<u32>> for u32
type Output = Matrix2<u32>
The resulting type after applying the /
operator.
fn div(self, other: &'a Matrix2<u32>) -> Matrix2<u32>
[src]
fn div(self, other: &'a Matrix2<u32>) -> Matrix2<u32>
Performs the /
operation.
impl<'a> Div<&'a Matrix2<i8>> for i8
[src]
impl<'a> Div<&'a Matrix2<i8>> for i8
type Output = Matrix2<i8>
The resulting type after applying the /
operator.
fn div(self, other: &'a Matrix2<i8>) -> Matrix2<i8>
[src]
fn div(self, other: &'a Matrix2<i8>) -> Matrix2<i8>
Performs the /
operation.
impl<'a> Div<&'a Matrix2<f64>> for f64
[src]
impl<'a> Div<&'a Matrix2<f64>> for f64
type Output = Matrix2<f64>
The resulting type after applying the /
operator.
fn div(self, other: &'a Matrix2<f64>) -> Matrix2<f64>
[src]
fn div(self, other: &'a Matrix2<f64>) -> Matrix2<f64>
Performs the /
operation.
impl<'a> Div<&'a Matrix2<isize>> for isize
[src]
impl<'a> Div<&'a Matrix2<isize>> for isize
type Output = Matrix2<isize>
The resulting type after applying the /
operator.
fn div(self, other: &'a Matrix2<isize>) -> Matrix2<isize>
[src]
fn div(self, other: &'a Matrix2<isize>) -> Matrix2<isize>
Performs the /
operation.
impl Div<Matrix2<f64>> for f64
[src]
impl Div<Matrix2<f64>> for f64
type Output = Matrix2<f64>
The resulting type after applying the /
operator.
fn div(self, other: Matrix2<f64>) -> Matrix2<f64>
[src]
fn div(self, other: Matrix2<f64>) -> Matrix2<f64>
Performs the /
operation.
impl Div<Matrix2<i64>> for i64
[src]
impl Div<Matrix2<i64>> for i64
type Output = Matrix2<i64>
The resulting type after applying the /
operator.
fn div(self, other: Matrix2<i64>) -> Matrix2<i64>
[src]
fn div(self, other: Matrix2<i64>) -> Matrix2<i64>
Performs the /
operation.
impl Div<Matrix2<u8>> for u8
[src]
impl Div<Matrix2<u8>> for u8
type Output = Matrix2<u8>
The resulting type after applying the /
operator.
fn div(self, other: Matrix2<u8>) -> Matrix2<u8>
[src]
fn div(self, other: Matrix2<u8>) -> Matrix2<u8>
Performs the /
operation.
impl Div<Matrix2<i16>> for i16
[src]
impl Div<Matrix2<i16>> for i16
type Output = Matrix2<i16>
The resulting type after applying the /
operator.
fn div(self, other: Matrix2<i16>) -> Matrix2<i16>
[src]
fn div(self, other: Matrix2<i16>) -> Matrix2<i16>
Performs the /
operation.
impl Div<Matrix2<usize>> for usize
[src]
impl Div<Matrix2<usize>> for usize
type Output = Matrix2<usize>
The resulting type after applying the /
operator.
fn div(self, other: Matrix2<usize>) -> Matrix2<usize>
[src]
fn div(self, other: Matrix2<usize>) -> Matrix2<usize>
Performs the /
operation.
impl<S> Div<S> for Matrix2<S> where
S: BaseFloat,
[src]
impl<S> Div<S> for Matrix2<S> where
S: BaseFloat,
type Output = Matrix2<S>
The resulting type after applying the /
operator.
fn div(self, other: S) -> Matrix2<S>
[src]
fn div(self, other: S) -> Matrix2<S>
Performs the /
operation.
impl<'a> Div<&'a Matrix2<u16>> for u16
[src]
impl<'a> Div<&'a Matrix2<u16>> for u16
type Output = Matrix2<u16>
The resulting type after applying the /
operator.
fn div(self, other: &'a Matrix2<u16>) -> Matrix2<u16>
[src]
fn div(self, other: &'a Matrix2<u16>) -> Matrix2<u16>
Performs the /
operation.
impl Div<Matrix2<u32>> for u32
[src]
impl Div<Matrix2<u32>> for u32
type Output = Matrix2<u32>
The resulting type after applying the /
operator.
fn div(self, other: Matrix2<u32>) -> Matrix2<u32>
[src]
fn div(self, other: Matrix2<u32>) -> Matrix2<u32>
Performs the /
operation.
impl<'a> Div<&'a Matrix2<i64>> for i64
[src]
impl<'a> Div<&'a Matrix2<i64>> for i64
type Output = Matrix2<i64>
The resulting type after applying the /
operator.
fn div(self, other: &'a Matrix2<i64>) -> Matrix2<i64>
[src]
fn div(self, other: &'a Matrix2<i64>) -> Matrix2<i64>
Performs the /
operation.
impl<'a> Div<&'a Matrix2<f32>> for f32
[src]
impl<'a> Div<&'a Matrix2<f32>> for f32
type Output = Matrix2<f32>
The resulting type after applying the /
operator.
fn div(self, other: &'a Matrix2<f32>) -> Matrix2<f32>
[src]
fn div(self, other: &'a Matrix2<f32>) -> Matrix2<f32>
Performs the /
operation.
impl Div<Matrix2<i32>> for i32
[src]
impl Div<Matrix2<i32>> for i32
type Output = Matrix2<i32>
The resulting type after applying the /
operator.
fn div(self, other: Matrix2<i32>) -> Matrix2<i32>
[src]
fn div(self, other: Matrix2<i32>) -> Matrix2<i32>
Performs the /
operation.
impl<'a> Div<&'a Matrix2<i32>> for i32
[src]
impl<'a> Div<&'a Matrix2<i32>> for i32
type Output = Matrix2<i32>
The resulting type after applying the /
operator.
fn div(self, other: &'a Matrix2<i32>) -> Matrix2<i32>
[src]
fn div(self, other: &'a Matrix2<i32>) -> Matrix2<i32>
Performs the /
operation.
impl<'a, S> Div<S> for &'a Matrix2<S> where
S: BaseFloat,
[src]
impl<'a, S> Div<S> for &'a Matrix2<S> where
S: BaseFloat,
type Output = Matrix2<S>
The resulting type after applying the /
operator.
fn div(self, other: S) -> Matrix2<S>
[src]
fn div(self, other: S) -> Matrix2<S>
Performs the /
operation.
impl<'a> Div<&'a Matrix2<usize>> for usize
[src]
impl<'a> Div<&'a Matrix2<usize>> for usize
type Output = Matrix2<usize>
The resulting type after applying the /
operator.
fn div(self, other: &'a Matrix2<usize>) -> Matrix2<usize>
[src]
fn div(self, other: &'a Matrix2<usize>) -> Matrix2<usize>
Performs the /
operation.
impl<'a> Div<&'a Matrix2<u8>> for u8
[src]
impl<'a> Div<&'a Matrix2<u8>> for u8
type Output = Matrix2<u8>
The resulting type after applying the /
operator.
fn div(self, other: &'a Matrix2<u8>) -> Matrix2<u8>
[src]
fn div(self, other: &'a Matrix2<u8>) -> Matrix2<u8>
Performs the /
operation.
impl Div<Matrix2<u64>> for u64
[src]
impl Div<Matrix2<u64>> for u64
type Output = Matrix2<u64>
The resulting type after applying the /
operator.
fn div(self, other: Matrix2<u64>) -> Matrix2<u64>
[src]
fn div(self, other: Matrix2<u64>) -> Matrix2<u64>
Performs the /
operation.
impl Div<Matrix2<isize>> for isize
[src]
impl Div<Matrix2<isize>> for isize
type Output = Matrix2<isize>
The resulting type after applying the /
operator.
fn div(self, other: Matrix2<isize>) -> Matrix2<isize>
[src]
fn div(self, other: Matrix2<isize>) -> Matrix2<isize>
Performs the /
operation.
impl Div<Matrix2<u16>> for u16
[src]
impl Div<Matrix2<u16>> for u16
type Output = Matrix2<u16>
The resulting type after applying the /
operator.
fn div(self, other: Matrix2<u16>) -> Matrix2<u16>
[src]
fn div(self, other: Matrix2<u16>) -> Matrix2<u16>
Performs the /
operation.
impl Div<Matrix2<f32>> for f32
[src]
impl Div<Matrix2<f32>> for f32
type Output = Matrix2<f32>
The resulting type after applying the /
operator.
fn div(self, other: Matrix2<f32>) -> Matrix2<f32>
[src]
fn div(self, other: Matrix2<f32>) -> Matrix2<f32>
Performs the /
operation.
impl Div<Matrix2<i8>> for i8
[src]
impl Div<Matrix2<i8>> for i8