Description Usage Arguments Value Examples
Given a numeric matrix A and a numeric vector 'x', calculates $x^T A^-1 x$ Note that this only makes sense when A is a square matrix and the dimension of x is the same as the dimensions of the row and column dimensions of A
1 | calculate3(a, x)
|
a |
matrix |
x |
vector |
scalar
1 2 3 | x <- c(1,2,3,4)
mtx <-matrix(rnorm(16),nc=4,nr=4)
result8 <- calculate3(mtx, x)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.