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 matrix A of the linear system only via the matrix-vector product y = A · x (and perhaps z = AT · x). Thus the user need only supply a subroutine for computing y (and perhaps z) given x, which permits full exploitation of the sparsity or other special structure of A.
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public abstract int | Returns: the number of columns of the underlying matrixReturns the dimension of the domain of this operator. |
| public abstract int | Returns: the number of rows of the underlying matrixReturns the dimension of the codomain of this operator. |
| public boolean | |
| public abstract RealVector | Returns: the product ofthis instance with xthe vector to operate on x)Returns the result of multiplying |
| public RealVector | Returns: the product of the transpose ofthis instance with
xthe vector to operate on x)Returns the result of multiplying the transpose of |
| RealLinearOperator | back to summary |
|---|---|
| public RealLinearOperator() | |
| getColumnDimension | back to summary |
|---|---|
| public abstract int getColumnDimension() Returns the dimension of the domain of this operator.
| |
| getRowDimension | back to summary |
|---|---|
| public abstract int getRowDimension() Returns the dimension of the codomain of this operator.
| |
| isTransposable | back to summary |
|---|---|
| public boolean isTransposable() Returns
| |
| operate | back to summary |
|---|---|
| public abstract RealVector operate(final RealVector x) throws DimensionMismatchException Returns the result of multiplying
| |
| operateTranspose | back to summary |
|---|---|
| public RealVector operateTranspose(final RealVector x) throws DimensionMismatchException, UnsupportedOperationException Returns the result of multiplying the transpose of
| |