Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Index

Constructors

Properties

Methods

Constructors

constructor

  • new Fill(size: number, value: number): Fill

Properties

height

height: number

Protected values

values: number[]

width

width: number

Methods

*

  • Multiply the matrix by a number or by another matrix

    Parameters

    • a: Matrix | number

      The value or the matrix with which the multiplication should take place

    Returns Matrix

+

-

/

^

dot

getValues

  • getValues(): number[]

toString

  • toString(): string
  • Converts matrix to a String. See example below:

    ┌                                ┐
    │ -1,00 -1,92 -1,80 -0,92  0,25  │
    │  0,05  0,99  0,25 -0,50 -0,19  │
    │  0,98 -1,94 -1,35  0,22 -0,88  │
    │ -0,85 -1,63  0,07 -0,39 -0,24  │
    │  0,45 -0,33 -1,14  0,07 -0,61  │
    └                                ┘

    Returns string

Generated using TypeDoc