x^T P x.

1 | ```
quadform(x, P)
``` |

`x` |
input vector, either x or P must be constant. |

`P` |
input matrix, either x or P must be constant, P needs to be semidefinte if x is not constant. |

convexjlr documentation built on May 2, 2019, 5:28 a.m.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.