Constructor for gpumat objects.
gpumat(card, nrows = 0, ncols = 0, type = "double")
card | |
---|---|
nrows, ncols | The dimensions of the matrix. |
type | Storage type for the matrix. Should be one of 'int', 'float', or 'double'. |
A gpumat class object.
Data is held in an external pointer.