DMatrixWrapper

value class DMatrixWrapper<out T, R : Dimension, C : Dimension>(structure: Structure2D<T>) : DMatrix<T, R, C>

An inline wrapper for a Matrix

Constructors

DMatrixWrapper
Link copied to clipboard
common
fun <out T> DMatrixWrapper(structure: Structure2D<T>)

Functions

elements
Link copied to clipboard
common
open override fun elements(): Sequence<Pair<IntArray, T>>
get
Link copied to clipboard
common
open operator override fun get(index: IntArray): T
open operator override fun get(i: Int, j: Int): T
getFeature
Link copied to clipboard
common
open override fun <F : StructureFeature> getFeature(type: KClass<out F>): F?

Properties

colNum
Link copied to clipboard
common
open override val colNum: Int
columns
Link copied to clipboard
common
open val columns: List<Buffer<T>>
dimension
Link copied to clipboard
common
open val dimension: Int
rowNum
Link copied to clipboard
common
open override val rowNum: Int
rows
Link copied to clipboard
common
open val rows: List<Buffer<T>>
shape
Link copied to clipboard
common
open override val shape: IntArray

Sources

common source
Link copied to clipboard