Calculates a quadratic form for 2-d vectors

Description

Calculates a quadratic form for 2-d vectors

Usage

1
quadform2d(beta1, beta2, b, c)

Arguments

beta1

dimension 1.

beta2

dimension 2.

b

2-d vector containing (location) mean.

c

2x2 centering matrix.

Examples

1
quadform2d(1,1,c(0,0),diag(1,2))

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.