| Modifier and Type | Field and Description |
|---|---|
| private final ArrayRealVector | diag
The diagonal coefficients of the preconditioner. |
| Access | Constructor and Description |
|---|---|
| public | JacobiPreconditioner(final double[]
the diagonal coefficients of the linear operator to be
preconditioned diag, final boolean true if a deep copy of the above array should be
performedCreates a new instance of this class. |
| Modifier and Type | Method and Description |
|---|---|
| public static JacobiPreconditioner | Returns: the diagonal preconditioner made of the inverse of the diagonal coefficients of the specified linear operatorthe linear operator for which the preconditioner should be built a)Creates a new instance of this class. |
| public int | getColumnDimension()
Implements abstract org. Returns the dimension of the domain of this operator. |
| public int | getRowDimension()
Implements abstract org. Returns the dimension of the codomain of this operator. |
| public RealVector | operate(final RealVector
the vector to operate on x)Implements abstract org. Returns the result of multiplying |
| public RealLinearOperator | Returns: the square root ofthis preconditionerReturns the square root of |
| diag | back to summary |
|---|---|
| private final ArrayRealVector diag The diagonal coefficients of the preconditioner. | |
| JacobiPreconditioner | back to summary |
|---|---|
| public JacobiPreconditioner(final double[] diag, final boolean deep) Creates a new instance of this class.
| |
| create | back to summary |
|---|---|
| public static JacobiPreconditioner create(final RealLinearOperator a) throws NonSquareOperatorException Creates a new instance of this class. This method extracts the diagonal
coefficients of the specified linear operator. If
| |
| getColumnDimension | back to summary |
|---|---|
| public int getColumnDimension() Implements abstract org. Doc from org. Returns the dimension of the domain of this operator.
| |
| getRowDimension | back to summary |
|---|---|
| public int getRowDimension() Implements abstract org. Doc from org. Returns the dimension of the codomain of this operator.
| |
| operate | back to summary |
|---|---|
| public RealVector operate(final RealVector x) Implements abstract org. Doc from org. Returns the result of multiplying
| |
| sqrt | back to summary |
|---|---|
| public RealLinearOperator sqrt() Returns the square root of
| |