public interface ISparseEqnDouble extends ISparseEquation
ISparseEquation.IndexType
Modifier and Type | Method and Description |
---|---|
void |
addToAij(double x,
int i,
int j)
Add the aij element to the matrix.
|
void |
addToBi(double bi,
int i)
add to the b[i] element.
|
double |
getAij(int i,
int j)
Get the aij element.
|
double |
getXi(int i)
Get the x[i] element.
|
void |
setAij(double x,
int i,
int j)
Set the aij element.
|
void |
setBi(double bi,
int i)
Set b[i] element.
|
double[] |
solveLUedEqn(double[] b)
Solve the [A]X = B problem after [A] is LUed
|
factorization, factorization, getBusId, getDimension, getDimension, getTotalElements, getZeroAii_row, increaseDimension, isFactorized, isSquareMatrix, reset, setB2Unity, setB2Zero, setBusId, setFactorized, setToZero, solveEqn, solveEqn
void addToAij(double x, int i, int j)
x
- the aij elementi
- the element row numberj
- the element column numberdouble getXi(int i)
i
- the element row numbervoid setAij(double x, int i, int j)
x
- the aij elementi
- the element row numberj
- the element column numberdouble getAij(int i, int j)
i
- the element row numberj
- the element column numbervoid setBi(double bi, int i)
bi
- the bi elementi
- row numbervoid addToBi(double bi, int i)
bi
- the bi elementi
- row numberdouble[] solveLUedEqn(double[] b) throws IpssNumericException
IpssNumericException