MatrixImpl

open class MatrixImpl<T : Number> : Matrix<T>

An (NxM) Matrix.

Parameters

values

must be a square 2d array of values

Inheritors

Properties

Link copied to clipboard
override val numColumns: Int

The number of columns in the matrix.

Link copied to clipboard
override val numRows: Int

The number of rows in the matrix.

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open operator override fun get(row: Int, col: Int): T

A value within the Matrix at row, col.

Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String

Inherited functions

Link copied to clipboard
Link copied to clipboard
operator fun Matrix<Double>.plus(other: Matrix<Double>): Matrix<Double>
Link copied to clipboard