Converts a matrix-like object or a resident_handle to an
adgeMatrix. When x is a resident_handle,
ownership of the GPU-resident buffer is transferred to the new
adgeMatrix.
Usage
as_adgeMatrix(
x,
mode = NULL,
backend = NULL,
preferred_backend = NULL,
policy = NULL,
precision = NULL
)Arguments
- x
A
resident_handle, base Rmatrix,dgeMatrix, or anydenseMatrix.- mode
Single string shortcut; see
adgeMatrix.- backend
Alias for
preferred_backend.- preferred_backend
Single string; preferred compute backend.
- policy
Single string dispatch policy.
- precision
Single string;
"strict"or"fast".