Struct euler::DMat3 [] [src]

#[repr(C)]
pub struct DMat3 { pub m00: f64, pub m01: f64, pub m02: f64, pub m10: f64, pub m11: f64, pub m12: f64, pub m20: f64, pub m21: f64, pub m22: f64, }

Double-precision 2x2 column major matrix.

Fields

Methods

impl DMat3
[src]

[src]

Full constructor.

[src]

Identity constructor.

[src]

Diagonal constructor.

[src]

Tri-diagonal constructor.

impl DMat3
[src]

[src]

Computes the matrix determinant.

[src]

Computes the matrix trace.

[src]

Computes the matrix inverse.

Panics

Panics if the matrix has no inverse (i.e. has zero determinant).

[src]

Returns the matrix transpose.

[src]

Attempts to compute the matrix inverse, returning None if the matrix is non-invertible (i.e. has zero determinant).

Trait Implementations

impl Clone for DMat3
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Copy for DMat3
[src]

impl Debug for DMat3
[src]

[src]

Formats the value using the given formatter.

impl PartialEq for DMat3
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.

impl Display for DMat3
[src]

[src]

Formats the value using the given formatter. Read more

impl From<f32> for DMat3
[src]

[src]

Performs the conversion.

impl From<f64> for DMat3
[src]

[src]

Performs the conversion.

impl From<Mat2> for DMat3
[src]

[src]

Performs the conversion.

impl From<DMat2> for DMat3
[src]

[src]

Performs the conversion.

impl From<Mat3> for DMat3
[src]

[src]

Performs the conversion.

impl From<Mat4> for DMat3
[src]

[src]

Performs the conversion.

impl From<DMat4> for DMat3
[src]

[src]

Performs the conversion.

impl Add<DMat3> for DMat3
[src]

The resulting type after applying the + operator.

[src]

Performs the + operation.

impl Sub<DMat3> for DMat3
[src]

The resulting type after applying the - operator.

[src]

Performs the - operation.

impl Mul<f64> for DMat3
[src]

The resulting type after applying the * operator.

[src]

Performs the * operation.

impl Mul<DVec3> for DMat3
[src]

The resulting type after applying the * operator.

[src]

Performs the * operation.

impl<'a> Mul<DVec3> for &'a DMat3
[src]

The resulting type after applying the * operator.

[src]

Performs the * operation.

impl Mul<DMat3> for DMat3
[src]

The resulting type after applying the * operator.

[src]

Performs the * operation.

impl Default for DMat3
[src]

[src]

Returns the "default value" for a type. Read more

impl AsRef<[[f64; 3]; 3]> for DMat3
[src]

[src]

Performs the conversion.

impl From<[[f64; 3]; 3]> for DMat3
[src]

[src]

Performs the conversion.

impl Into<[[f64; 3]; 3]> for DMat3
[src]

[src]

Performs the conversion.

impl ApproxEq for DMat3
[src]

Used for specifying relative comparisons.

[src]

The default tolerance to use when testing values that are close together. Read more

[src]

The default relative tolerance for testing values that are far-apart. Read more

[src]

The default ULPs to tolerate when testing values that are far-apart. Read more

[src]

A test for equality that uses a relative comparison if the values are far apart.

[src]

A test for equality that uses units in the last place (ULP) if the values are far apart.

[src]

The inverse of ApproxEq::relative_eq.

[src]

The inverse of ApproxEq::ulps_eq.