Description Usage Arguments Value Author(s)

Fast computation of a quadratic form t(x)

1 |

`x` |
A matrix with dimensions n*k. |

`M` |
A matrix with dimenions n*n. If it is to be inverted then the matrix should be symmetric and positive difinite (no check is done for this) |

`invertM` |
A logical. If set to TRUE then M will be inverted before computations (defaults to FALSE) |

`transposex` |
A logical. Should the matrix be transposed before computations (defaults to FALSE). |

A matrix with dimensions k * k giving the quadratic form

Claus Ekstrom <claus@rprimer.dk>

MESS documentation built on May 29, 2017, 2:39 p.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.