Description Usage Arguments Value
A function that calculates the objective vector of a polygram. Needed for the quadratic optimization routine, and can be of independent interest.
1 | polygram_objective_vector(x, ms, s, support)
|
x |
a Armadillo<double> vector containing the data |
ms |
an Armadillo<integer> vector containing the Bernstein degrees. Must be of size |s| + 1 |
s_aug |
an Armadillo<double> vector containing the splits, endpoints not included. |
an Armadillo<double> of size sum(ms+1)
that contains the
objective vector for the optimization program.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.