- java.lang.Object
-
- org.quantlib.GMRES
-
- All Implemented Interfaces:
AutoCloseable,org.quantlib.helpers.QuantLibJNIHelpers.AutoCloseable
public class GMRES extends Object implements org.quantlib.helpers.QuantLibJNIHelpers.AutoCloseable
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedGMRES(long cPtr, boolean cMemoryOwn)GMRES(MatrixMultiplicationDelegate delegate, long maxIter, double relTol)GMRES(MatrixMultiplicationDelegate delegate, long maxIter, double relTol, SWIGTYPE_p_MatrixMultiplicationProxy preconditioner)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddelete()protected voidfinalize()protected static longgetCPtr(GMRES obj)Arraysolve(Array b)Arraysolve(Array b, Array x0)ArraysolveWithRestart(long restart, Array b)ArraysolveWithRestart(long restart, Array b, Array x0)protected voidswigSetCMemOwn(boolean own)
-
-
-
Constructor Detail
-
GMRES
protected GMRES(long cPtr, boolean cMemoryOwn)
-
GMRES
public GMRES(MatrixMultiplicationDelegate delegate, long maxIter, double relTol)
-
GMRES
public GMRES(MatrixMultiplicationDelegate delegate, long maxIter, double relTol, SWIGTYPE_p_MatrixMultiplicationProxy preconditioner)
-
-
Method Detail
-
swigSetCMemOwn
protected void swigSetCMemOwn(boolean own)
-
delete
public void delete()
- Specified by:
deletein interfaceorg.quantlib.helpers.QuantLibJNIHelpers.AutoCloseable
-
solveWithRestart
public Array solveWithRestart(long restart, Array b, Array x0)
-
solveWithRestart
public Array solveWithRestart(long restart, Array b)
-
-