Uses of Class
org.ejml.data.DSubmatrixD1
Packages that use DSubmatrixD1
Package
Description
-
Uses of DSubmatrixD1 in org.ejml.dense.block
Methods in org.ejml.dense.block with parameters of type DSubmatrixD1Modifier and TypeMethodDescriptionstatic voidVectorOps_DDRB.add_row(int blockLength, DSubmatrixD1 A, int rowA, double alpha, DSubmatrixD1 B, int rowB, double beta, DSubmatrixD1 C, int rowC, int offset, int end) Row vector add:
add: ci = α*ai + βBi
where 'a', 'b', and 'c' are row vectors within the row block vectors of A, B, and C respectively.static booleanMatrixOps_DDRB.blockAligned(int blockLength, DSubmatrixD1 A) Checks to see if the submatrix has its boundaries along inner blocks.static voidVectorOps_DDRB.div_row(int blockLength, DSubmatrixD1 A, int rowA, double alpha, DSubmatrixD1 B, int rowB, int offset, int end) Row vector divide:
div: bi = ai/α
where 'a' and 'b' are row vectors within the row block vector A and B.static doubleVectorOps_DDRB.dot_row(int blockLength, DSubmatrixD1 A, int rowA, DSubmatrixD1 B, int rowB, int offset, int end) Row vector dot/inner product:
dot: c = sum ai*bi
where 'a' and 'b' are row vectors within the row block vector A and B, and 'c' is a scalar.static doubleVectorOps_DDRB.dot_row_col(int blockLength, DSubmatrixD1 A, int rowA, DSubmatrixD1 B, int colB, int offset, int end) vector dot/inner product from one row vector and one column vector:
dot: c = sum ai*bi
where 'a' is a row vector 'b' is a column vectors within the row block vector A and B, and 'c' is a scalar.static voidTriangularSolver_DDRB.invert(int blockLength, boolean upper, DSubmatrixD1 T, @Nullable GrowArray<DGrowArray> workspace) Inverts an upper or lower triangular block submatrix.static voidTriangularSolver_DDRB.invert(int blockLength, boolean upper, DSubmatrixD1 T, DSubmatrixD1 T_inv, @Nullable GrowArray<DGrowArray> workspace) Inverts an upper or lower triangular block submatrix.static voidTriangularSolver_MT_DDRB.invert(int blockLength, boolean upper, DSubmatrixD1 T, DSubmatrixD1 T_inv, @Nullable GrowArray<DGrowArray> workspace) Inverts an upper or lower triangular block submatrix.static voidMatrixMult_DDRB.mult(int blockLength, DSubmatrixD1 A, DSubmatrixD1 B, DSubmatrixD1 C) static voidMatrixMult_MT_DDRB.mult(int blockLength, DSubmatrixD1 A, DSubmatrixD1 B, DSubmatrixD1 C) static voidMatrixMult_DDRB.multMinus(int blockLength, DSubmatrixD1 A, DSubmatrixD1 B, DSubmatrixD1 C) static voidMatrixMult_MT_DDRB.multMinus(int blockLength, DSubmatrixD1 A, DSubmatrixD1 B, DSubmatrixD1 C) static voidMatrixMult_DDRB.multMinusTransA(int blockLength, DSubmatrixD1 A, DSubmatrixD1 B, DSubmatrixD1 C) static voidMatrixMult_MT_DDRB.multMinusTransA(int blockLength, DSubmatrixD1 A, DSubmatrixD1 B, DSubmatrixD1 C) static voidMatrixMult_DDRB.multPlus(int blockLength, DSubmatrixD1 A, DSubmatrixD1 B, DSubmatrixD1 C) static voidMatrixMult_MT_DDRB.multPlus(int blockLength, DSubmatrixD1 A, DSubmatrixD1 B, DSubmatrixD1 C) static voidMatrixMult_DDRB.multPlusTransA(int blockLength, DSubmatrixD1 A, DSubmatrixD1 B, DSubmatrixD1 C) static voidMatrixMult_MT_DDRB.multPlusTransA(int blockLength, DSubmatrixD1 A, DSubmatrixD1 B, DSubmatrixD1 C) static voidMatrixMult_DDRB.multTransA(int blockLength, DSubmatrixD1 A, DSubmatrixD1 B, DSubmatrixD1 C) static voidMatrixMult_MT_DDRB.multTransA(int blockLength, DSubmatrixD1 A, DSubmatrixD1 B, DSubmatrixD1 C) static voidMatrixMult_DDRB.multTransB(int blockLength, DSubmatrixD1 A, DSubmatrixD1 B, DSubmatrixD1 C) static voidMatrixMult_MT_DDRB.multTransB(int blockLength, DSubmatrixD1 A, DSubmatrixD1 B, DSubmatrixD1 C) static voidInnerRankUpdate_DDRB.rankNUpdate(int blockLength, double alpha, DSubmatrixD1 A, DSubmatrixD1 B) Performs:
A = A + α B TBstatic voidInnerRankUpdate_MT_DDRB.rankNUpdate(int blockLength, double alpha, DSubmatrixD1 A, DSubmatrixD1 B) Performs:
A = A + α B TBstatic voidVectorOps_DDRB.scale_row(int blockLength, DSubmatrixD1 A, int rowA, double alpha, DSubmatrixD1 B, int rowB, int offset, int end) Row vector scale:
scale: bi = α*ai
where 'a' and 'b' are row vectors within the row block vector A and B.static voidTriangularSolver_DDRB.solve(int blockLength, boolean upper, DSubmatrixD1 T, DSubmatrixD1 B, boolean transT) Performs an in-place solve operation on the provided block aligned sub-matrices.
B = T-1 B
where T is a triangular matrix.static voidTriangularSolver_MT_DDRB.solve(int blockLength, boolean upper, DSubmatrixD1 T, DSubmatrixD1 B, boolean transT) Performs an in-place solve operation on the provided block aligned sub-matrices.
B = T-1 B
where T is a triangular matrix.static voidTriangularSolver_DDRB.solveBlock(int blockLength, boolean upper, DSubmatrixD1 T, DSubmatrixD1 B, boolean transT, boolean transB) Performs an in-place solve operation where T is contained in a single block.
B = T-1 B
where T is a triangular matrix contained in an inner block.static voidTriangularSolver_MT_DDRB.solveBlock(int blockLength, boolean upper, DSubmatrixD1 T, DSubmatrixD1 B, boolean transT, boolean transB) Performs an in-place solve operation where T is contained in a single block.
B = T-1 B
where T is a triangular matrix contained in an inner block.static voidTriangularSolver_DDRB.solveL(int blockLength, DSubmatrixD1 L, DSubmatrixD1 B, boolean transL) Solves lower triangular systems:
B = L-1 B
static voidTriangularSolver_MT_DDRB.solveL(int blockLength, DSubmatrixD1 L, DSubmatrixD1 B, boolean transL) Solves lower triangular systems:
B = L-1 B
static voidTriangularSolver_DDRB.solveR(int blockLength, DSubmatrixD1 R, DSubmatrixD1 B, boolean transR) Solves upper triangular systems:
B = R-1 B
static voidTriangularSolver_MT_DDRB.solveR(int blockLength, DSubmatrixD1 R, DSubmatrixD1 B, boolean transR) Solves upper triangular systems:
B = R-1 B
static voidInnerRankUpdate_DDRB.symmRankNMinus_L(int blockLength, DSubmatrixD1 A, DSubmatrixD1 B) Rank N update function for a symmetric inner submatrix and only operates on the lower triangular portion of the submatrix.
A = A - B*BTstatic voidInnerRankUpdate_MT_DDRB.symmRankNMinus_L(int blockLength, DSubmatrixD1 A, DSubmatrixD1 B) Rank N update function for a symmetric inner submatrix and only operates on the lower triangular portion of the submatrix.
A = A - B*BTstatic voidInnerRankUpdate_DDRB.symmRankNMinus_U(int blockLength, DSubmatrixD1 A, DSubmatrixD1 B) Rank N update function for a symmetric inner submatrix and only operates on the upper triangular portion of the submatrix.
A = A - B TBstatic voidInnerRankUpdate_MT_DDRB.symmRankNMinus_U(int blockLength, DSubmatrixD1 A, DSubmatrixD1 B) Rank N update function for a symmetric inner submatrix and only operates on the upper triangular portion of the submatrix.
A = A - B TB -
Uses of DSubmatrixD1 in org.ejml.dense.block.decomposition.bidiagonal
Methods in org.ejml.dense.block.decomposition.bidiagonal with parameters of type DSubmatrixD1Modifier and TypeMethodDescriptionstatic booleanBidiagonalHelper_DDRB.bidiagOuterBlocks(int blockLength, DSubmatrixD1 A, double[] gammasU, double[] gammasV) Performs a standard bidiagonal decomposition just on the outer blocks of the provided matrix -
Uses of DSubmatrixD1 in org.ejml.dense.block.decomposition.chol
Methods in org.ejml.dense.block.decomposition.chol with parameters of type DSubmatrixD1Modifier and TypeMethodDescriptionstatic booleanInnerCholesky_DDRB.lower(DSubmatrixD1 T) static booleanInnerCholesky_DDRB.upper(DSubmatrixD1 T) -
Uses of DSubmatrixD1 in org.ejml.dense.block.decomposition.hessenberg
Methods in org.ejml.dense.block.decomposition.hessenberg with parameters of type DSubmatrixD1Modifier and TypeMethodDescriptionstatic voidTridiagonalHelper_DDRB.applyReflectorsToRow(int blockLength, DSubmatrixD1 A, DSubmatrixD1 V, int row) Applies the reflectors that have been computed previously to the specified row.static voidTridiagonalHelper_DDRB.computeRowOfV(int blockLength, DSubmatrixD1 A, DSubmatrixD1 V, int row, double gamma) Final computation for a single row of 'v':
v = y -(1/2)γ(y^T*u)*ustatic voidTridiagonalHelper_DDRB.computeV_blockVector(int blockLength, DSubmatrixD1 A, double[] gammas, DSubmatrixD1 V) Given an already computed tridiagonal decomposition, compute the V row block vector.
y(:) = A*u
v(i) = y - (1/2)*γ*(y^T*u)*ustatic voidTridiagonalHelper_DDRB.computeW_row(int blockLength, DSubmatrixD1 Y, DSubmatrixD1 W, double[] beta, int betaIndex) Computes W from the householder reflectors stored in the columns of the row block submatrix Y.static voidTridiagonalHelper_DDRB.computeY(int blockLength, DSubmatrixD1 A, DSubmatrixD1 V, int row, double gamma) Computes the 'y' vector and stores the result in 'v'
y = -γ(A + U*V^T + V*U^T)ustatic doubleTridiagonalHelper_DDRB.innerProdRowSymm(int blockLength, DSubmatrixD1 A, int rowA, DSubmatrixD1 B, int rowB, int zeroOffset) static voidTridiagonalHelper_DDRB.multA_u(int blockLength, DSubmatrixD1 A, DSubmatrixD1 V, int row) Multiples the appropriate submatrix of A by the specified reflector and stores the result ('y') in V.
y = A*ustatic voidTridiagonalDecompositionHouseholder_DDRB.multPlusTransA(int blockLength, DSubmatrixD1 A, DSubmatrixD1 B, DSubmatrixD1 C) C = C + A^T*Bstatic voidTridiagonalDecompositionHouseholder_MT_DDRB.multPlusTransA(int blockLength, DSubmatrixD1 A, DSubmatrixD1 B, DSubmatrixD1 C) C = C + A^T*Bstatic voidTridiagonalHelper_DDRB.tridiagUpperRow(int blockLength, DSubmatrixD1 A, double[] gammas, DSubmatrixD1 V) Performs a tridiagonal decomposition on the upper row only. -
Uses of DSubmatrixD1 in org.ejml.dense.block.decomposition.qr
Methods in org.ejml.dense.block.decomposition.qr with parameters of type DSubmatrixD1Modifier and TypeMethodDescriptionstatic voidBlockHouseHolder_DDRB.add_row(int blockLength, DSubmatrixD1 A, int rowA, double alpha, DSubmatrixD1 B, int rowB, double beta, DSubmatrixD1 C, int rowC, int zeroOffset, int end) static voidBlockHouseHolder_MT_DDRB.add_row(int blockLength, DSubmatrixD1 A, int rowA, double alpha, DSubmatrixD1 B, int rowB, double beta, DSubmatrixD1 C, int rowC, int zeroOffset, int end) static booleanBlockHouseHolder_DDRB.computeHouseHolderCol(int blockLength, DSubmatrixD1 Y, double[] gamma, int i) Computes the householder vector that is used to create reflector for the column.static booleanBlockHouseHolder_MT_DDRB.computeHouseHolderCol(int blockLength, DSubmatrixD1 Y, double[] gamma, int i) Computes the householder vector that is used to create reflector for the column.static booleanBlockHouseHolder_DDRB.computeHouseHolderRow(int blockLength, DSubmatrixD1 Y, double[] gamma, int i) Computes the householder vector from the specified rowstatic booleanBlockHouseHolder_MT_DDRB.computeHouseHolderRow(int blockLength, DSubmatrixD1 Y, double[] gamma, int i) Computes the householder vector from the specified rowstatic doubleBlockHouseHolder_DDRB.computeTauAndDivideCol(int blockLength, DSubmatrixD1 Y, int col, double max) From the specified column of Y tau is computed and each element is divided by 'max'.static doubleBlockHouseHolder_MT_DDRB.computeTauAndDivideCol(int blockLength, DSubmatrixD1 Y, int col, double max) From the specified column of Y tau is computed and each element is divided by 'max'.static doubleBlockHouseHolder_DDRB.computeTauAndDivideRow(int blockLength, DSubmatrixD1 Y, int row, int colStart, double max) From the specified row of Y tau is computed and each element is divided by 'max'.static doubleBlockHouseHolder_MT_DDRB.computeTauAndDivideRow(int blockLength, DSubmatrixD1 Y, int row, int colStart, double max) From the specified row of Y tau is computed and each element is divided by 'max'.static voidBlockHouseHolder_DDRB.computeW_Column(int blockLength, DSubmatrixD1 Y, DSubmatrixD1 W, @Nullable GrowArray<DGrowArray> workspace, double[] beta, int betaIndex) Computes W from the householder reflectors stored in the columns of the column block submatrix Y.static voidBlockHouseHolder_MT_DDRB.computeW_Column(int blockLength, DSubmatrixD1 Y, DSubmatrixD1 W, @Nullable GrowArray<DGrowArray> workspace, double[] beta, int betaIndex) Computes W from the householder reflectors stored in the columns of the column block submatrix Y.static voidBlockHouseHolder_DDRB.computeY_t_V(int blockLength, DSubmatrixD1 Y, int col, double[] temp) Computes YTv(j).static voidBlockHouseHolder_MT_DDRB.computeY_t_V(int blockLength, DSubmatrixD1 Y, int col, double[] temp) Computes YTv(j).static voidBlockHouseHolder_DDRB.computeZ(int blockLength, DSubmatrixD1 Y, DSubmatrixD1 W, int col, double[] temp, double beta) Computes the vector z and inserts it into 'W':
z = - βj*(Vj + W*h)
where h is a vector of length 'col' and was computed usingBlockHouseHolder_DDRB.computeY_t_V(int, org.ejml.data.DSubmatrixD1, int, double[]).static voidBlockHouseHolder_MT_DDRB.computeZ(int blockLength, DSubmatrixD1 Y, DSubmatrixD1 W, int col, double[] temp, double beta) Computes the vector z and inserts it into 'W':
z = - βj*(Vj + W*h)
where h is a vector of length 'col' and was computed usingBlockHouseHolder_MT_DDRB.computeY_t_V(int, org.ejml.data.DSubmatrixD1, int, double[]).static booleanBlockHouseHolder_DDRB.decomposeQR_block_col(int blockLength, DSubmatrixD1 Y, double[] gamma) Performs a standard QR decomposition on the specified submatrix that is one block wide.static booleanBlockHouseHolder_MT_DDRB.decomposeQR_block_col(int blockLength, DSubmatrixD1 Y, double[] gamma) Performs a standard QR decomposition on the specified submatrix that is one block wide.static voidBlockHouseHolder_DDRB.divideElementsCol(int blockLength, DSubmatrixD1 Y, int col, double val) Divides the elements at the specified column by 'val'.static voidBlockHouseHolder_MT_DDRB.divideElementsCol(int blockLength, DSubmatrixD1 Y, int col, double val) Divides the elements at the specified column by 'val'.static doubleBlockHouseHolder_DDRB.findMaxCol(int blockLength, DSubmatrixD1 Y, int col) Finds the element in the column with the largest absolute value.static doubleBlockHouseHolder_MT_DDRB.findMaxCol(int blockLength, DSubmatrixD1 Y, int col) Finds the element in the column with the largest absolute value.static doubleBlockHouseHolder_DDRB.findMaxRow(int blockLength, DSubmatrixD1 Y, int row, int colStart) Finds the element in the column with the largest absolute value.static doubleBlockHouseHolder_MT_DDRB.findMaxRow(int blockLength, DSubmatrixD1 Y, int row, int colStart) Finds the element in the column with the largest absolute value.static voidBlockHouseHolder_DDRB.initializeW(int blockLength, DSubmatrixD1 W, DSubmatrixD1 Y, int widthB, double b) Sets W to its initial value using the first column of 'y' and the value of 'b':
W = -βv
where v = Y(:,0).static voidBlockHouseHolder_MT_DDRB.initializeW(int blockLength, DSubmatrixD1 W, DSubmatrixD1 Y, int widthB, double b) Sets W to its initial value using the first column of 'y' and the value of 'b':
W = -βv
where v = Y(:,0).static doubleBlockHouseHolder_DDRB.innerProdCol(int blockLength, DSubmatrixD1 A, int colA, int widthA, int colB, int widthB) Computes the inner product of column vector 'colA' against column vector 'colB' while taking account leading zeros and one.
ret = aT*bstatic doubleBlockHouseHolder_MT_DDRB.innerProdCol(int blockLength, DSubmatrixD1 A, int colA, int widthA, int colB, int widthB) Computes the inner product of column vector 'colA' against column vector 'colB' while taking account leading zeros and one.
ret = aT*bstatic doubleBlockHouseHolder_DDRB.innerProdRow(int blockLength, DSubmatrixD1 A, int rowA, DSubmatrixD1 B, int rowB, int zeroOffset) Computes the inner product of row vector 'rowA' against row vector 'rowB' while taking account leading zeros and one.
ret = aT*bstatic doubleBlockHouseHolder_MT_DDRB.innerProdRow(int blockLength, DSubmatrixD1 A, int rowA, DSubmatrixD1 B, int rowB, int zeroOffset) Computes the inner product of row vector 'rowA' against row vector 'rowB' while taking account leading zeros and one.
ret = aT*bstatic voidBlockHouseHolder_DDRB.multAdd_zeros(int blockLength, DSubmatrixD1 Y, DSubmatrixD1 B, DSubmatrixD1 C) Special multiplication that takes in account the zeros and one in Y, which is the matrix that stores the householder vectors.static voidBlockHouseHolder_MT_DDRB.multAdd_zeros(int blockLength, DSubmatrixD1 Y, DSubmatrixD1 B, DSubmatrixD1 C) Special multiplication that takes in account the zeros and one in Y, which is the matrix that stores the householder vectors.static voidBlockHouseHolder_DDRB.multTransA_vecCol(int blockLength, DSubmatrixD1 A, DSubmatrixD1 B, DSubmatrixD1 C) Performs a matrix multiplication on the block aligned submatrices.static voidBlockHouseHolder_MT_DDRB.multTransA_vecCol(int blockLength, DSubmatrixD1 A, DSubmatrixD1 B, DSubmatrixD1 C) Performs a matrix multiplication on the block aligned submatrices.static voidBlockHouseHolder_DDRB.rank1UpdateMultL_LeftCol(int blockLength, DSubmatrixD1 A, int row, double gamma, int zeroOffset) Applies a householder reflector stored in row 'row' to the left column block.static voidBlockHouseHolder_MT_DDRB.rank1UpdateMultL_LeftCol(int blockLength, DSubmatrixD1 A, int row, double gamma, int zeroOffset) Applies a householder reflector stored in row 'row' to the left column block.static voidBlockHouseHolder_DDRB.rank1UpdateMultL_Row(int blockLength, DSubmatrixD1 A, int row, int colStart, double gamma) Applies a householder reflector stored in row 'row' to the remainder of the row in the block after it.static voidBlockHouseHolder_MT_DDRB.rank1UpdateMultL_Row(int blockLength, DSubmatrixD1 A, int row, int colStart, double gamma) Applies a householder reflector stored in row 'row' to the remainder of the row in the block after it.static voidBlockHouseHolder_DDRB.rank1UpdateMultR_Col(int blockLength, DSubmatrixD1 A, int col, double gamma) Applies a householder reflector stored in column 'col' to the remainder of the columns in the block after it.static voidBlockHouseHolder_MT_DDRB.rank1UpdateMultR_Col(int blockLength, DSubmatrixD1 A, int col, double gamma) Applies a householder reflector stored in column 'col' to the remainder of the columns in the block after it.static voidBlockHouseHolder_DDRB.rank1UpdateMultR_TopRow(int blockLength, DSubmatrixD1 A, int col, double gamma) Applies a householder reflector stored in column 'col' to the top block row (excluding the first column) of A.static voidBlockHouseHolder_MT_DDRB.rank1UpdateMultR_TopRow(int blockLength, DSubmatrixD1 A, int col, double gamma) Applies a householder reflector stored in column 'col' to the top block row (excluding the first column) of A.static voidBlockHouseHolder_DDRB.scale_row(int blockLength, DSubmatrixD1 Y, DSubmatrixD1 W, int row, int zeroOffset, double val) Scales the elements in the specified row starting at element colStart by 'val'.
W = val*Y Takes in account zeros and leading one automatically.static voidBlockHouseHolder_MT_DDRB.scale_row(int blockLength, DSubmatrixD1 Y, DSubmatrixD1 W, int row, int zeroOffset, double val) Scales the elements in the specified row starting at element colStart by 'val'.
W = val*Y Takes in account zeros and leading one automatically.protected voidQRDecompositionHouseholder_DDRB.updateA(DSubmatrixD1 A) A = (I + W YT)TA
A = A + Y (WTA)
where A is a submatrix of the input matrix.protected voidQRDecompositionHouseholder_MT_DDRB.updateA(DSubmatrixD1 A) A = (I + W YT)TA
A = A + Y (WTA)
where A is a submatrix of the input matrix.