View source: R/019_interface_matrix_utilities.R
| intf_convert | R Documentation |
Normalizes R values so the rest of CVXR can assume a consistent type. Scalars -> 1x1 matrix, vectors -> column matrix, logical -> numeric. Sparse matrices are kept sparse.
intf_convert(val)
val |
A numeric scalar, vector, matrix, or Matrix object |
A matrix or dgCMatrix
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.