public class InnerRankUpdate_DDRB
extends java.lang.Object
DMatrixRBlock
It is assumed and not checked that the submatrices are aligned along the matrix's blocks.Constructor and Description |
---|
InnerRankUpdate_DDRB() |
Modifier and Type | Method and Description |
---|---|
protected static void |
multTransABlockMinus_U(double[] dataA,
double[] dataC,
int indexA,
int indexB,
int indexC,
int heightA,
int widthA,
int widthC)
Performs the following operation on the upper triangular portion of a block:
c = c - aTa |
protected static void |
multTransABlockMinus(double[] dataA,
double[] dataC,
int indexA,
int indexB,
int indexC,
int heightA,
int widthA,
int widthC)
Performs the following operation on a block:
c = c - aTa |
protected static void |
multTransBBlockMinus_L(double[] dataA,
double[] dataC,
int indexA,
int indexB,
int indexC,
int widthA,
int heightA,
int widthC)
Performs the following operation on the lower triangular portion of a block:
c = c - a*aT |
protected static void |
multTransBBlockMinus(double[] dataA,
double[] dataC,
int indexA,
int indexB,
int indexC,
int widthA,
int heightA,
int widthC)
Performs the following operation on a block:
c = c - a*aT |
static void |
rankNUpdate(int blockLength,
double alpha,
org.ejml.data.DSubmatrixD1 A,
org.ejml.data.DSubmatrixD1 B)
Performs:
A = A + α B TB |
static void |
symmRankNMinus_L(int blockLength,
org.ejml.data.DSubmatrixD1 A,
org.ejml.data.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*BT |
static void |
symmRankNMinus_U(int blockLength,
org.ejml.data.DSubmatrixD1 A,
org.ejml.data.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 |
public static void rankNUpdate(int blockLength, double alpha, org.ejml.data.DSubmatrixD1 A, org.ejml.data.DSubmatrixD1 B)
Performs:
A = A + α B TB
blockLength
- Size of the block in the block matrix.alpha
- scaling factor for right hand side.A
- Block aligned submatrix.B
- Block aligned submatrix.public static void symmRankNMinus_U(int blockLength, org.ejml.data.DSubmatrixD1 A, org.ejml.data.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
public static void symmRankNMinus_L(int blockLength, org.ejml.data.DSubmatrixD1 A, org.ejml.data.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*BT
protected static void multTransABlockMinus(double[] dataA, double[] dataC, int indexA, int indexB, int indexC, int heightA, int widthA, int widthC)
Performs the following operation on a block:
c = c - aTa
protected static void multTransABlockMinus_U(double[] dataA, double[] dataC, int indexA, int indexB, int indexC, int heightA, int widthA, int widthC)
Performs the following operation on the upper triangular portion of a block:
c = c - aTa
protected static void multTransBBlockMinus(double[] dataA, double[] dataC, int indexA, int indexB, int indexC, int widthA, int heightA, int widthC)
Performs the following operation on a block:
c = c - a*aT
protected static void multTransBBlockMinus_L(double[] dataA, double[] dataC, int indexA, int indexB, int indexC, int widthA, int heightA, int widthC)
Performs the following operation on the lower triangular portion of a block:
c = c - a*aT