Class MatrixNTI2D<V>

data-structure-typed

Author

Tyler Zeng

Copyright

Copyright (c) 2022 Tyler Zeng zrwusa@gmail.com

License

MIT License

Type Parameters

  • V = any

Hierarchy

  • MatrixNTI2D

Constructors

Properties

Methods

Constructors

  • The constructor creates a matrix with the specified number of rows and columns, and initializes all elements to a given initial value or 0 if not provided.

    Type Parameters

    • V = any

    Parameters

    • options: {
          col: number;
          initialVal?: V;
          row: number;
      }

      An object containing the following properties:

      • col: number
      • Optional initialVal?: V
      • row: number

    Returns MatrixNTI2D<V>

Properties

_matrix: V[][]

Methods

Generated using TypeDoc