org.ejml.alg.block
Class BlockInnerRankUpdate
- java.lang.Object
-
- org.ejml.alg.block.BlockInnerRankUpdate
-
public class BlockInnerRankUpdate extends java.lang.ObjectPerforms rank-n update operations on the inner blocks of aBlockMatrix64FIt is assumed and not checked that the submatrices are aligned along the matrix's blocks.
-
-
Constructor Summary
Constructors Constructor and Description BlockInnerRankUpdate()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method and Description static voidrankNUpdate(int blockLength, double alpha, D1Submatrix64F A, D1Submatrix64F B)Performs:
A = A + α B TBstatic voidsymmRankNMinus_L(int blockLength, D1Submatrix64F A, D1Submatrix64F 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 voidsymmRankNMinus_U(int blockLength, D1Submatrix64F A, D1Submatrix64F 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
-
-
-
Method Detail
-
rankNUpdate
public static void rankNUpdate(int blockLength, double alpha, D1Submatrix64F A, D1Submatrix64F B)Performs:
A = A + α B TB- Parameters:
blockLength- Size of the block in the block matrix.alpha- scaling factor for right hand side.A- Block aligned submatrix.B- Block aligned submatrix.
-
symmRankNMinus_U
public static void symmRankNMinus_U(int blockLength, D1Submatrix64F A, D1Submatrix64F 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
-
symmRankNMinus_L
public static void symmRankNMinus_L(int blockLength, D1Submatrix64F A, D1Submatrix64F B)Rank N update function for a symmetric inner submatrix and only operates on the lower triangular portion of the submatrix.
A = A - B*BT
-
-
DMelt 3.0 © DataMelt by jWork.ORG