public interface ISparseEqnObject<TAij,TBi> extends ISparseEquation
ISparseEquation.IndexType
Modifier and Type | Method and Description |
---|---|
void |
addToA(TAij x,
int i,
int j)
Add the aij object to the matrix.
|
void |
addToB(TBi bi,
int i)
add to bi element.
|
TAij |
getA(int i,
int j)
Get the aij object.
|
TBi |
getX(int i)
Get the x[i] object, after the eqn is solved.
|
int |
getZeroA_row()
Get zero aii row number, in case the matrix is singular
|
void |
setA(TAij x,
int i,
int j)
Set the aij object.
|
void |
setBi(TBi bi,
int i)
Set b[i] object, before solving the eqn.
|
void |
setBVector(TBi[] bAry)
Set b vector, before solving the eqn.
|
factorization, factorization, getBusId, getDimension, getDimension, getTotalElements, getZeroAii_row, increaseDimension, isFactorized, isSquareMatrix, reset, setB2Unity, setB2Zero, setBusId, setFactorized, setToZero, solveEqn, solveEqn
void addToA(TAij x, int i, int j)
x
- the aij elementi
- the element row numberj
- the element column numberTBi getX(int i)
i
- the element row numbervoid setA(TAij x, int i, int j)
x
- the aij objecti
- the element row numberj
- the element column numberTAij getA(int i, int j)
i
- the element row numberj
- the element column numbervoid setBi(TBi bi, int i)
bi
- the bi elementi
- row numbervoid setBVector(TBi[] bAry)
bAry
- the b vector elementsvoid addToB(TBi bi, int i)
bi
- the bi elementi
- row numberint getZeroA_row()