Class InnerRankUpdate_FDRB


  • public class InnerRankUpdate_FDRB
    extends java.lang.Object
    Performs rank-n update operations on the inner blocks of a FMatrixRBlock It is assumed and not checked that the submatrices are aligned along the matrix's blocks.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      protected static void multTransABlockMinus​(float[] dataA, float[] 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​(float[] dataA, float[] 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​(float[] dataA, float[] 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​(float[] dataA, float[] 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
      static void rankNUpdate​(int blockLength, float alpha, org.ejml.data.FSubmatrixD1 A, org.ejml.data.FSubmatrixD1 B)
      Performs:

      A = A + α B TB
      static void symmRankNMinus_L​(int blockLength, org.ejml.data.FSubmatrixD1 A, org.ejml.data.FSubmatrixD1 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.FSubmatrixD1 A, org.ejml.data.FSubmatrixD1 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
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • InnerRankUpdate_FDRB

        public InnerRankUpdate_FDRB()
    • Method Detail

      • rankNUpdate

        public static void rankNUpdate​(int blockLength,
                                       float alpha,
                                       org.ejml.data.FSubmatrixD1 A,
                                       org.ejml.data.FSubmatrixD1 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,
                                            org.ejml.data.FSubmatrixD1 A,
                                            org.ejml.data.FSubmatrixD1 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,
                                            org.ejml.data.FSubmatrixD1 A,
                                            org.ejml.data.FSubmatrixD1 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

      • multTransABlockMinus

        protected static void multTransABlockMinus​(float[] dataA,
                                                   float[] dataC,
                                                   int indexA,
                                                   int indexB,
                                                   int indexC,
                                                   int heightA,
                                                   int widthA,
                                                   int widthC)

        Performs the following operation on a block:

        c = c - aTa

      • multTransABlockMinus_U

        protected static void multTransABlockMinus_U​(float[] dataA,
                                                     float[] 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

      • multTransBBlockMinus

        protected static void multTransBBlockMinus​(float[] dataA,
                                                   float[] dataC,
                                                   int indexA,
                                                   int indexB,
                                                   int indexC,
                                                   int widthA,
                                                   int heightA,
                                                   int widthC)

        Performs the following operation on a block:

        c = c - a*aT

      • multTransBBlockMinus_L

        protected static void multTransBBlockMinus_L​(float[] dataA,
                                                     float[] 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