@PublicationReference(author="Jonathan Richard Shewchuk", title="An Introduction to the Conjugate Gradient Method Without the Agonizing Pain", type=WebPage, year=1994, url="http://www.cs.cmu.edu/~quake-papers/painless-conjugate-gradient.pdf\u200e") public class MatrixVectorMultiplier extends java.lang.Object implements Evaluator<Vector,Vector>
Modifier and Type | Field and Description |
---|---|
protected Matrix |
m
The matrix to multiply with.
|
Constructor and Description |
---|
MatrixVectorMultiplier(Matrix m)
Clones the input matrix to prevent any later edits to the input from
changing the results of iterative multiplications.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
Vector |
evaluate(Vector input)
Returns m times input.
|
int |
hashCode() |
protected Matrix m
public MatrixVectorMultiplier(Matrix m)
m
- The matrix to multiply with