Options
All
  • Public
  • Public/Protected
  • All
Menu

Index

Functions

add

addScalar

column

  • return column vector

    Parameters

    Returns Real[]

columns

  • Parameters

    Returns Size

copyV2Col

  • copy a column vector to matrix

    Parameters

    Returns void

determinant

  • Parameters

    Returns Real

diagonal

  • Parameters

    Returns Real[]

divScalar

fill

  • Parameters

    Returns void

from

  • Parameters

    Returns Matrix

from1D

identityMatrix

  • Parameters

    Returns Matrix

inverse

  • Parameters

    Returns Matrix

isMatrix

  • isMatrix(a: any[]): boolean
  • Parameters

    • a: any[]

    Returns boolean

max

  • Parameters

    Returns Real

min

  • Parameters

    Returns Real

mul

  • matrix multiply link:

    Parameters

    Returns Matrix

mulScalar

mulVector

  • Parameters

    Returns Real[]

newMatrix

  • newMatrix(rows: Size, columns: Size, value?: number): any[][]
  • Parameters

    • rows: Size
    • columns: Size
    • Default value value: number = 0

    Returns any[][]

outerProduct

  • Parameters

    Returns Matrix

reset

  • reset matrix

    Parameters

    • M: Matrix

      m by n Matrix

    • m: Size

      number of rows

    • n: Size

      number of columns

    • Default value dft: Real = 0

    Returns void

row

  • Parameters

    Returns Real[]

rows

  • Parameters

    Returns Size

size1

  • Parameters

    Returns Size

size2

  • Parameters

    Returns Size

sub

subScalar

to1D

transpose

  • transpose matrix

    Parameters

    Returns Matrix

transposeVector

  • transposeVector(a: any[]): Matrix
  • transpose row vector to n*1 matrix

    Parameters

    • a: any[]

    Returns Matrix