Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Implements

Index

Constructors

constructor

  • new Matrix(elements?: number[]): Matrix

Properties

elements

elements: number[] = []

Methods

Protected Abstract _timesMatrix

Protected Abstract _timesVector

applyToPoints

Abstract asPrettyString

  • asPrettyString(): string

clone

Abstract getElement

  • getElement(row: number, col: number): number

getMatrix

isEqualTo

  • isEqualTo(other: Matrix, tolerance?: number): boolean

minus

plus

Abstract setToIdentity

  • setToIdentity(): void

Abstract times

Static Product

  • Product<T>(...args: any[]): Matrix
  • For taking the product of a series of matrices in order. You can feed in matrices as separate arguments or as a single list. E.g., Multiply(a, b, c, d) or Multiply([a,b,c,d]).

    Type parameters

    Parameters

    • Rest ...args: any[]

    Returns Matrix

Generated using TypeDoc