Convert an R matrix to a cpumat object.

as_cpumat(x, copy = TRUE)

Arguments

x

R matrix.

copy

Should the R data be copied? If FALSE, be careful!

Value

A cpumat object.