public class SparseNumberedBlockMatrix extends SparseBlockMatrix
SparseBlockMatrix.PrintFormatMatrix.Partition, Matrix.WriteFormatwarningLevelINDEFINITE, POSITIVE_DEFINITE, SPD, SYMMETRIC| Constructor and Description |
|---|
SparseNumberedBlockMatrix() |
SparseNumberedBlockMatrix(int[] rowColSizes) |
SparseNumberedBlockMatrix(int[] rowColSizes,
int initialCapacity) |
SparseNumberedBlockMatrix(int[] rowSizes,
int[] colSizes) |
SparseNumberedBlockMatrix(int[] rowSizes,
int[] colSizes,
int initialCapacity) |
| Modifier and Type | Method and Description |
|---|---|
int |
addBlock(int bi,
int bj,
MatrixBlock blk) |
void |
checkConsistency()
Check that the internal structures of this matrix are consistent.
|
SparseNumberedBlockMatrix |
clone()
Creates a clone of this NumberedSparseBlockMatrix, along with clones of
all the associated MatrixBlocks.
|
MatrixBlock |
getBlockByNumber(int num) |
void |
removeAllBlocks() |
boolean |
removeBlock(MatrixBlock oldBlk) |
add, add, addCol, addCols, addNumNonZerosByCol, addNumNonZerosByRow, addNumNonZerosByRow, addRow, addRows, blockStructureEquals, blockStructureEquals, buildKKTSystem, colSize, colSize, createSubMatrix, createSubMatrix, elementIsNonZero, firstBlockInCol, firstBlockInRow, frobeniusNormSquared, get, getAlignedBlockCol, getAlignedBlockRow, getBlock, getBlockCCSIndices, getBlockCCSIndices, getBlockCCSValues, getBlockCCSValues, getBlockCol, getBlockColOffset, getBlockColSize, getBlockCRSIndices, getBlockCRSIndices, getBlockCRSValues, getBlockCRSValues, getBlockPattern, getBlockRow, getBlockRowOffset, getBlockRowSize, getBlockStructure, getCCSIndices, getCCSValues, getColumn, getColumn, getComp, getCRSIndices, getCRSValues, getElementBlock, getRange, getRow, getRow, getSubMatrix, getSubMatrixColSize, getSubMatrixColumn, getSubMatrixRow, getSubMatrixRowSize, isVerticallyLinked, maxNorm, mulSubMatrixVec, numBlockCols, numBlockRows, numBlocks, numNonZeroVals, numNonZeroVals, numNonZeroVals, perturb, printBlocks, removeBlock, rowSize, rowSize, scale, scaledAdd, scaledAdd, scanBlocks, set, set, set, set, setColCapacity, setRandomValues, setRandomValues, setRandomValues, setRowCapacity, setSubMatrix, setSymmetric, setSymmetric, setVerticallyLinked, setZero, sub, sub, toString, valueIsNonZero, writeBlocks, writeBlocks, zeroColumn, zeroRowsetCCSValues, setCRSValues, setRandom, setRandomcontainsNaN, determinant, epsilonEquals, equals, frobeniusNorm, get, get, getCCSIndices, getCCSIndices, getCCSValues, getCCSValues, getColumn, getColumn, getCRSIndices, getCRSIndices, getCRSValues, getCRSValues, getDefaultFormat, getRow, getSize, getSubMatrix, hasNaN, idString, infinityNorm, isFixedSize, isSymmetric, mul, mul, mul, mulAdd, mulAdd, mulAdd, mulTranspose, mulTranspose, mulTranspose, mulTransposeAdd, mulTransposeAdd, mulTransposeAdd, oneNorm, scan, setCRSValues, setDefaultFormat, setSize, toString, toString, toString, trace, write, write, write, write, write, write, writeToFileequals, getClass, hashCode, notify, notifyAll, wait, wait, waitdeterminant, epsilonEquals, equals, frobeniusNorm, get, getCCSIndices, getCCSIndices, getCCSValues, getCCSValues, getColumn, getColumn, getCRSIndices, getCRSIndices, getCRSValues, getCRSValues, getRow, getSize, getSubMatrix, infinityNorm, isFixedSize, isSymmetric, mul, mul, mul, mulAdd, mulAdd, mulAdd, mulTranspose, mulTranspose, mulTranspose, mulTransposeAdd, mulTransposeAdd, mulTransposeAdd, oneNorm, scan, setSize, toString, toString, trace, write, write, writepublic SparseNumberedBlockMatrix()
public SparseNumberedBlockMatrix(int[] rowColSizes)
public SparseNumberedBlockMatrix(int[] rowSizes,
int[] colSizes)
public SparseNumberedBlockMatrix(int[] rowColSizes,
int initialCapacity)
public SparseNumberedBlockMatrix(int[] rowSizes,
int[] colSizes,
int initialCapacity)
public int addBlock(int bi,
int bj,
MatrixBlock blk)
addBlock in class SparseBlockMatrixpublic boolean removeBlock(MatrixBlock oldBlk)
removeBlock in class SparseBlockMatrixpublic void removeAllBlocks()
removeAllBlocks in class SparseBlockMatrixpublic MatrixBlock getBlockByNumber(int num)
public void checkConsistency()
SparseBlockMatrixcheckConsistency in interface MatrixcheckConsistency in class SparseBlockMatrixpublic SparseNumberedBlockMatrix clone()
clone in interface Clonableclone in class SparseBlockMatrix