public final class QuadraticForm extends Object
| Constructor and Description |
|---|
QuadraticForm(Vector x,
Matrix A) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
int |
hashCode() |
double |
multiply()
Compute xTAx and return the resulting value.
|
static double |
multiply(Vector x,
Matrix A)
Compute xTAx and return the resulting value.
|
public static double multiply(Vector x, Matrix A)
x - the vector component of the quadratic form.A - the matrix component of the quadratic form.public double multiply()