[−][src]Struct geomath::matrix::Matrix3
3x3 matrix
Fields
xx: f64
xy: f64
xz: f64
yx: f64
yy: f64
yz: f64
zx: f64
zy: f64
zz: f64
Methods
impl Matrix3
[src]
pub const fn new(
xx: f64,
xy: f64,
xz: f64,
yx: f64,
yy: f64,
yz: f64,
zx: f64,
zy: f64,
zz: f64
) -> Self
[src]
xx: f64,
xy: f64,
xz: f64,
yx: f64,
yy: f64,
yz: f64,
zx: f64,
zy: f64,
zz: f64
) -> Self
Trait Implementations
impl Add<Matrix3> for Matrix3
[src]
type Output = Self
The resulting type after applying the +
operator.
fn add(self, rhs: Self) -> Self::Output
[src]
impl AddAssign<Matrix3> for Matrix3
[src]
fn add_assign(&mut self, rhs: Matrix3)
[src]
impl Algebra<Matrix3> for Matrix3
[src]
fn determinant(&self) -> f64
[src]
fn set_inverse(&mut self) -> &mut Self
[src]
fn set_transposed(&mut self) -> &mut Self
[src]
fn set_adjugate(&mut self) -> &mut Self
[src]
fn inverse(&self) -> Self
[src]
fn transposed(&self) -> Self
[src]
fn adjugate(&self) -> Self
[src]
impl BitOr<Matrix3> for Matrix3
[src]
type Output = f64
The resulting type after applying the |
operator.
fn bitor(self, rhs: Matrix3) -> Self::Output
[src]
impl Clone for Matrix3
[src]
impl Copy for Matrix3
[src]
impl Debug for Matrix3
[src]
impl Div<f64> for Matrix3
[src]
type Output = Self
The resulting type after applying the /
operator.
fn div(self, rhs: f64) -> Self::Output
[src]
impl DivAssign<f64> for Matrix3
[src]
fn div_assign(&mut self, rhs: f64)
[src]
impl From<f64> for Matrix3
[src]
impl Initializer for Matrix3
[src]
impl Interpolation for Matrix3
[src]
fn set_lerp(&mut self, other: &Self, s: f64) -> &mut Self
[src]
fn set_herp(
&mut self,
other: &Self,
other1: &Self,
other2: &Self,
s: f64
) -> &mut Self
[src]
&mut self,
other: &Self,
other1: &Self,
other2: &Self,
s: f64
) -> &mut Self
fn set_berp(
&mut self,
other: &Self,
other1: &Self,
other2: &Self,
s: f64
) -> &mut Self
[src]
&mut self,
other: &Self,
other1: &Self,
other2: &Self,
s: f64
) -> &mut Self
fn lerp(&self, other: &Self, s: f64) -> Self where
Self: Copy + Clone,
[src]
Self: Copy + Clone,
fn herp(&mut self, other: &Self, other1: &Self, other2: &Self, s: f64) -> Self where
Self: Copy + Clone,
[src]
Self: Copy + Clone,
fn berp(&mut self, other: &Self, other1: &Self, other2: &Self, s: f64) -> Self where
Self: Copy + Clone,
[src]
Self: Copy + Clone,
impl Metric for Matrix3
[src]
fn dot(&self, rhs: &Self) -> f64
[src]
fn magnitude2(&self) -> f64
[src]
fn magnitude(&self) -> f64
[src]
fn distance2(&self, rhs: &Self) -> f64
[src]
fn distance(&self, rhs: &Self) -> f64
[src]
fn set_normalized(&mut self) -> &mut Self
[src]
fn normalized(&self) -> Self
[src]
impl Mul<Matrix3> for Matrix3
[src]
type Output = Matrix3
The resulting type after applying the *
operator.
fn mul(self, rhs: Matrix3) -> Self::Output
[src]
impl Mul<Vector2> for Matrix3
[src]
type Output = Vector2
The resulting type after applying the *
operator.
fn mul(self, rhs: Vector2) -> Self::Output
[src]
impl Mul<Vector3> for Matrix3
[src]
type Output = Vector3
The resulting type after applying the *
operator.
fn mul(self, rhs: Vector3) -> Self::Output
[src]
impl Mul<f64> for Matrix3
[src]
type Output = Self
The resulting type after applying the *
operator.
fn mul(self, rhs: f64) -> Self::Output
[src]
impl MulAssign<Matrix3> for Vector3
[src]
fn mul_assign(&mut self, rhs: Matrix3)
[src]
impl MulAssign<Matrix3> for Vector2
[src]
fn mul_assign(&mut self, rhs: Matrix3)
[src]
impl MulAssign<Matrix3> for Matrix3
[src]
fn mul_assign(&mut self, rhs: Matrix3)
[src]
impl MulAssign<f64> for Matrix3
[src]
fn mul_assign(&mut self, rhs: f64)
[src]
impl Neg for Matrix3
[src]
type Output = Self
The resulting type after applying the -
operator.
fn neg(self) -> Self::Output
[src]
impl Not for Matrix3
[src]
type Output = f64
The resulting type after applying the !
operator.
fn not(self) -> Self::Output
[src]
impl PartialEq<Matrix3> for Matrix3
[src]
impl Rem<Matrix3> for Matrix3
[src]
type Output = f64
The resulting type after applying the %
operator.
fn rem(self, rhs: Self) -> Self::Output
[src]
impl Reset<Matrix3> for Matrix3
[src]
fn reset0(&mut self) -> &mut Self
[src]
fn reset1(&mut self) -> &mut Self
[src]
fn reset(&mut self, val: &Matrix3) -> &mut Self
[src]
impl Rigid<Matrix2, Vector2> for Matrix3
[src]
fn set_rigid(&mut self, rotation: &Matrix2, vector: &Vector2) -> &mut Self
[src]
fn from_rigid(rotation: &U, vector: &T) -> Self
[src]
impl Rigid<Matrix3, Vector3> for Matrix4
[src]
fn set_rigid(&mut self, rotation: &Matrix3, vector: &Vector3) -> &mut Self
[src]
fn from_rigid(rotation: &U, vector: &T) -> Self
[src]
impl Rotation3 for Matrix3
[src]
fn set_rotation(&mut self, angle: f64, axis: &Vector3) -> &mut Self
[src]
fn set_rotation_x(&mut self, angle: f64) -> &mut Self
[src]
fn set_rotation_y(&mut self, angle: f64) -> &mut Self
[src]
fn set_rotation_z(&mut self, angle: f64) -> &mut Self
[src]
fn from_rotation(angle: f64, axis: &Vector3) -> Self
[src]
fn from_rotation_x(angle: f64) -> Self
[src]
fn from_rotation_y(angle: f64) -> Self
[src]
fn from_rotation_z(angle: f64) -> Self
[src]
impl Rows<[Vector3; 3]> for Matrix3
[src]
fn rows(&self) -> [Vector3; 3]
[src]
fn set_rows(&mut self, rows: &[Vector3; 3]) -> &mut Self
[src]
fn from_rows(rows: &T) -> Self
[src]
impl Similarity<Matrix2, Vector2> for Matrix3
[src]
fn set_similarity(
&mut self,
scale: f64,
rotation: &Matrix2,
vector: &Vector2
) -> &mut Self
[src]
&mut self,
scale: f64,
rotation: &Matrix2,
vector: &Vector2
) -> &mut Self
fn from_similarity(scale: f64, rotation: &U, vector: &T) -> Self
[src]
impl Similarity<Matrix3, Vector3> for Matrix4
[src]
fn set_similarity(
&mut self,
scale: f64,
rotation: &Matrix3,
vector: &Vector3
) -> &mut Self
[src]
&mut self,
scale: f64,
rotation: &Matrix3,
vector: &Vector3
) -> &mut Self
fn from_similarity(scale: f64, rotation: &U, vector: &T) -> Self
[src]
impl Sub<Matrix3> for Matrix3
[src]
type Output = Self
The resulting type after applying the -
operator.
fn sub(self, rhs: Self) -> Self::Output
[src]
impl SubAssign<Matrix3> for Matrix3
[src]
fn sub_assign(&mut self, rhs: Matrix3)
[src]
impl Translation<Vector2> for Matrix3
[src]
fn set_translation(&mut self, vector: &Vector2) -> &mut Self
[src]
fn from_translation(vector: &T) -> Self
[src]
Auto Trait Implementations
impl RefUnwindSafe for Matrix3
impl Send for Matrix3
impl Sync for Matrix3
impl Unpin for Matrix3
impl UnwindSafe for Matrix3
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,