Struct euler::DMat4[][src]

#[repr(C)]
pub struct DMat4 { pub m00: f64, pub m01: f64, pub m02: f64, pub m03: f64, pub m10: f64, pub m11: f64, pub m12: f64, pub m13: f64, pub m20: f64, pub m21: f64, pub m22: f64, pub m23: f64, pub m30: f64, pub m31: f64, pub m32: f64, pub m33: f64, }

Double-precision 2x2 column major matrix.

Fields

Methods

impl DMat4
[src]

Full constructor.

Identity constructor.

Diagonal constructor.

Tri-diagonal constructor.

impl DMat4
[src]

Computes the matrix determinant.

Computes the matrix trace.

Computes the matrix inverse.

Panics

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

Returns the matrix transpose.

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

Trait Implementations

impl From<DMat4> for Mat2
[src]

Performs the conversion.

impl From<DMat4> for DMat2
[src]

Performs the conversion.

impl From<DMat4> for Mat3
[src]

Performs the conversion.

impl From<DMat4> for DMat3
[src]

Performs the conversion.

impl From<DMat4> for Mat4
[src]

Performs the conversion.

impl Clone for DMat4
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for DMat4
[src]

impl Debug for DMat4
[src]

Formats the value using the given formatter. Read more

impl PartialEq for DMat4
[src]

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

This method tests for !=.

impl Display for DMat4
[src]

Formats the value using the given formatter. Read more

impl From<f32> for DMat4
[src]

Performs the conversion.

impl From<f64> for DMat4
[src]

Performs the conversion.

impl From<Mat2> for DMat4
[src]

Performs the conversion.

impl From<DMat2> for DMat4
[src]

Performs the conversion.

impl From<Mat3> for DMat4
[src]

Performs the conversion.

impl From<DMat3> for DMat4
[src]

Performs the conversion.

impl From<Mat4> for DMat4
[src]

Performs the conversion.

impl Add<DMat4> for DMat4
[src]

The resulting type after applying the + operator.

Performs the + operation.

impl Sub<DMat4> for DMat4
[src]

The resulting type after applying the - operator.

Performs the - operation.

impl Mul<f64> for DMat4
[src]

The resulting type after applying the * operator.

Performs the * operation.

impl Mul<DVec4> for DMat4
[src]

The resulting type after applying the * operator.

Performs the * operation.

impl<'a> Mul<DVec4> for &'a DMat4
[src]

The resulting type after applying the * operator.

Performs the * operation.

impl Mul<DMat4> for f64
[src]

The resulting type after applying the * operator.

Performs the * operation.

impl Mul<DMat4> for DMat4
[src]

The resulting type after applying the * operator.

Performs the * operation.

impl Default for DMat4
[src]

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

impl AsRef<[[f64; 4]; 4]> for DMat4
[src]

Performs the conversion.

impl From<[[f64; 4]; 4]> for DMat4
[src]

Performs the conversion.

impl Into<[[f64; 4]; 4]> for DMat4
[src]

Performs the conversion.

impl ApproxEq for DMat4
[src]

Used for specifying relative comparisons.

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

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

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

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

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

The inverse of ApproxEq::relative_eq.

The inverse of ApproxEq::ulps_eq.

Auto Trait Implementations

impl Send for DMat4

impl Sync for DMat4