matr-api
matr-api
matr
Determinant
ElementMultiplication
ElementMultiplication
Matrix
Matrix
Requirements
MatrixAddition
MatrixEquality
MatrixFactory
MatrixFactory
Builder
MatrixMultiplication
MatrixSubtraction
Submatrix
Submatrix
Requirements
Transpose
TupleSupport
MatrixTupleReader
RowTupleReader
TupleSupport
matr.util
RowMajorIndex
matr-api
/
matr.util
/
RowMajorIndex
RowMajorIndex
object
RowMajorIndex
Utility for converting zero-based element position to one-dimensional row-major index and back.
Graph
Supertypes
Self type
class
Object
trait
Matchable
class
Any
RowMajorIndex
.type
Value members
Value members
Concrete methods
def
fromIdx
(
idx:
Int
,
numCols:
Int
): (
Int
,
Int
)
def
toIdx
(
rowIdx:
Int
,
colIdx:
Int
,
numCols:
Int
):
Int