- java.lang.Object
-
- org.quantlib.SparseMatrix
-
- All Implemented Interfaces:
AutoCloseable,org.quantlib.helpers.QuantLibJNIHelpers.AutoCloseable
public class SparseMatrix extends Object implements org.quantlib.helpers.QuantLibJNIHelpers.AutoCloseable
-
-
Constructor Summary
Constructors Modifier Constructor Description SparseMatrix()protectedSparseMatrix(long cPtr, boolean cMemoryOwn)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddelete()protected voidfinalize()UnsignedIntVectorgetCol_idx()protected static longgetCPtr(SparseMatrix obj)DoubleVectorgetData()UnsignedIntVectorgetRow_idx()voidsetCol_idx(UnsignedIntVector value)voidsetData(DoubleVector value)voidsetRow_idx(UnsignedIntVector value)protected voidswigSetCMemOwn(boolean own)
-
-
-
Constructor Detail
-
SparseMatrix
protected SparseMatrix(long cPtr, boolean cMemoryOwn)
-
SparseMatrix
public SparseMatrix()
-
-
Method Detail
-
getCPtr
protected static long getCPtr(SparseMatrix obj)
-
swigSetCMemOwn
protected void swigSetCMemOwn(boolean own)
-
delete
public void delete()
- Specified by:
deletein interfaceorg.quantlib.helpers.QuantLibJNIHelpers.AutoCloseable
-
setRow_idx
public void setRow_idx(UnsignedIntVector value)
-
getRow_idx
public UnsignedIntVector getRow_idx()
-
setCol_idx
public void setCol_idx(UnsignedIntVector value)
-
getCol_idx
public UnsignedIntVector getCol_idx()
-
setData
public void setData(DoubleVector value)
-
getData
public DoubleVector getData()
-
-