Description Usage Arguments Details Value
Canonicalize the quadraric term of a quadratic constraint.
Objects from the following classes can be canonicalized:
"NULL", "numeric", "matrix", "simple_triplet_matrix"
and "list".
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 |
x |
an R object. |
... |
further arguments |
In the case of lists "as.Q_term" is applied to every element
of the list, for NULL one can supply the optional arguments "nrow"
and "ncol" which will create a "simple_triplet_zero_matrix"
with the specified dimension.
an object of class "simple_triplet_matrix"
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.