Constructor for cpumat objects.

cpumat(nrows = 0, ncols = 0, type = "double")

Arguments

nrows, ncols

The dimensions of the matrix.

type

Storage type for the matrix. Should be one of 'int', 'float', or 'double'.

Value

A cpumat class object.

Details

Data is held in an external pointer.

See also