|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.commons.math.linear.RealLinearOperator
public abstract class RealLinearOperator
This class defines a linear operator operating on real (double)
vector spaces.
No direct access to the coefficients of the underlying matrix is provided.
The motivation for such an interface is well stated by
Barrett et al. (1994):
We restrict ourselves to iterative methods, which work by repeatedly improving an approximate solution until it is accurate enough. These methods access the coefficient matrixAof the linear system only via the matrix-vector producty = A x(and perhapsz=ATx). Thus the user need only supply a subroutine for computingy(and perhapsz) givenx, which permits full exploitation of the sparsity or other special structure of A.
| Constructor Summary | |
|---|---|
RealLinearOperator()
|
|
| Method Summary | |
|---|---|
abstract int |
getColumnDimension()
Returns the dimension of the domain of this operator. |
abstract int |
getRowDimension()
Returns the dimension of the codomain of this operator. |
abstract RealVector |
operate(RealVector x)
Returns the result of multiplying this by the vector x. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RealLinearOperator()
| Method Detail |
|---|
public abstract int getRowDimension()
public abstract int getColumnDimension()
public abstract RealVector operate(RealVector x)
this by the vector x.
x - Vector to operate on.
this instance with x.
DimensionMismatchException - if the column dimension does not match the size of x.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||