Interface Matrix

( interface Matrix )

Hierarchy

  • Matrix

Implemented by

Properties

elements: number[]

Array with matrix values.

isMatrix: boolean

Read-only flag to check if a given object is of type Matrix.

Methods

  • copy(m: this): this
  • copy(m:T):T;

    Parameters

    • m: this

    Returns this

  • determinant(): number
  • Computes and returns the determinant of this matrix.

    Returns number

  • identity(): this
  • identity():T;

    Returns this

  • invert(): this
  • invert():T;

    Returns this

  • multiplyScalar(s: number): this
  • multiplyScalar(s:number):T;

    Parameters

    • s: number

    Returns this

  • transpose(): this
  • transpose():T;

    Returns this