Constructor for gpuvec objects.
gpuvec(card, size = 0, type = "double")
Arguments
card |
A GPU card object; the return of card() . See ?card . |
size |
Length of the vector. |
type |
Storage type for the vector. Should be one of 'int', 'float', or 'double'. |
Value
A gpuvec class object.
Details
Data is held in an external pointer.
See also