api / koma.matrix / Matrix / doubleFactory

doubleFactory

var doubleFactory:MatrixFactory<Matrix<Double>>

Default factory that all top-level functions use when building new matrices. Double precision.

Replace this factory at runtime with e.g. koma.matrix.ejml.EJMLMatrixFactory() to change what backend the top-level functions use for computation.