Types

Link copied to clipboard
object Companion

Fill the matrix with the same element.

Properties

Link copied to clipboard
abstract val size: Int

The size of the matrix.

Functions

Link copied to clipboard
abstract fun column(j: Int): List<T>

Get elements in the column at index j.

Link copied to clipboard
abstract operator fun get(i: Int, j: Int): T

Get the element at position (i, j).

Link copied to clipboard
abstract operator fun iterator(): Iterator<T>
Link copied to clipboard
abstract fun row(i: Int): List<T>

Get elements in the row at index i.

Link copied to clipboard
abstract operator fun set(i: Int, j: Int, value: T)

Set the element at position (i, j) to value.