Class MatrixNTI2D<T>

data-structure-typed

Author

Tyler Zeng

Copyright

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

License

MIT License

Type Parameters

  • T = number

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

    • T = number

    Parameters

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

      An object containing the following properties:

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

    Returns MatrixNTI2D<T>

Properties

_matrix: T[][]

Methods

Generated using TypeDoc