@lakuna/umath
    Preparing search index...

    Interface Matrix

    A rectangular array of numbers, arranged in rows and columns.

    Matrix

    interface Matrix {
        height: number;
        width: number;
        get frob(): number;
        add(matrix: Matrix4Like): MatrixLike;
        clone(): MatrixLike;
        copy(matrix: Matrix4Like): this;
        equals(matrix: Matrix4Like): boolean;
        exactEquals(matrix: Matrix4Like): boolean;
        multiply(matrix: Matrix4Like): MatrixLike;
        multiplyScalar(scalar: number): MatrixLike;
        multiplyScalarAndAdd(matrix: Matrix4Like, scalar: number): MatrixLike;
        subtract(matrix: Matrix4Like): MatrixLike;
        transpose(): MatrixLike;
        [key: number]: number;
    }

    Hierarchy (View Summary)

    Implemented by

    Indexable

    • [key: number]: number
    Index

    Properties

    height: number

    The number of rows in this matrix.

    width: number

    The number of columns in this matrix.

    Accessors

    Methods

    • Determine whether or not this matrix is roughly equivalent to another.

      Parameters

      Returns boolean

      Whether the matrices are equivalent.

    • Determine whether or not this matrix is exactly equivalent to another.

      Parameters

      Returns boolean

      Whether the matrices are equivalent.