interface MatrixFactory<out T :
A set of constructors that must be implemented by a koma backend. Generates various types of matrices. Generic parameter is the type of element, i.e. T=Matrix or T=Matrix, etc.
Creates a row-vector with the first value of start and the last value of stop, with increment steps between each value.
Creates a row-vector with the first value of start and the last value of stop, with unit steps between each value.
Creates a row-vector with initial values pulled from an int range, e.g. 1..45
Creates a row-vector with initial values pulled from a double array
Creates a matrix from an array of arrays (row-major)
Creates an identity matrix of the requested shape
Creates an identity matrix of the requested shape, with zero padding if the axis lengths arent equal.
Creates a one initialized matrix of the requested shape
Creates a matrix of uniform 0-1 random samples
Creates a matrix of unit-normal random samples
Generate a zero initialized matrix of the requested shape.
Some functionality to help more easily implement double based koma backends. Feel free to not use if your backend has fast implementations of these functions.