dmatrixconvert | R Documentation |
dgeMatrix
as a sparseMatrix
This function coerces a dgeMatrix
as a
sparseMatrix
.This function is used specifically in the
gurobi.optim
function to ensure that the
arguments are accepted by the gurobi
function.
dmatrixconvert(mat)
mat |
The matrix that is used in the |
Returns a matrix in the matrix
form.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.