Options
All
  • Public
  • Public/Protected
  • All
Menu

This Class represents a 3x3 Matrix

export

Hierarchy

  • Matrix3

Index

Constructors

Properties

Methods

Constructors

constructor

  • new Matrix3(data: number[][]): Matrix3
  • Creates an instance of Matrix3.

    memberof

    Matrix3

    Parameters

    • data: number[][]

      The initial values for the matrx needs to be 3x3.

    Returns Matrix3

Properties

data

data: number[][]

The data of the Matrix in a twodimensinal array.

memberof

Matrix3

Methods

multiply

  • Multiplies with another matrix to create a new instance.

    If the current matrix is A and the one provided by mat is B then it's AB. Mind the order!

    memberof

    Matrix3

    Parameters

    Returns Matrix3

Static Identity

  • Returns the threedim identity matrix. If row == col => 1 else => 0

    static
    memberof

    Matrix3

    Returns Matrix3

Static Zero

  • Returns an instance filled with zeros.

    static
    memberof

    Matrix3

    Returns Matrix3

Generated using TypeDoc