Class MatrixMult_DDRB

java.lang.Object
org.ejml.dense.block.MatrixMult_DDRB

public class MatrixMult_DDRB
extends java.lang.Object

Matrix multiplication for DMatrixRBlock. All sub-matrices must be block aligned.

  • Constructor Summary

    Constructors 
    Constructor Description
    MatrixMult_DDRB()  
  • Method Summary

    Modifier and Type Method Description
    static void mult​(int blockLength, org.ejml.data.DSubmatrixD1 A, org.ejml.data.DSubmatrixD1 B, org.ejml.data.DSubmatrixD1 C)
    Performs a matrix multiplication on DMatrixRBlock submatrices.

    c = a * b

    static void multMinus​(int blockLength, org.ejml.data.DSubmatrixD1 A, org.ejml.data.DSubmatrixD1 B, org.ejml.data.DSubmatrixD1 C)
    Performs a matrix multiplication on DMatrixRBlock submatrices.

    c = c - a * b

    static void multMinusTransA​(int blockLength, org.ejml.data.DSubmatrixD1 A, org.ejml.data.DSubmatrixD1 B, org.ejml.data.DSubmatrixD1 C)  
    static void multPlus​(int blockLength, org.ejml.data.DSubmatrixD1 A, org.ejml.data.DSubmatrixD1 B, org.ejml.data.DSubmatrixD1 C)
    Performs a matrix multiplication on DMatrixRBlock submatrices.

    c = c + a * b

    static void multPlusTransA​(int blockLength, org.ejml.data.DSubmatrixD1 A, org.ejml.data.DSubmatrixD1 B, org.ejml.data.DSubmatrixD1 C)  
    static void multTransA​(int blockLength, org.ejml.data.DSubmatrixD1 A, org.ejml.data.DSubmatrixD1 B, org.ejml.data.DSubmatrixD1 C)
    Performs a matrix multiplication with a transpose on DMatrixRBlock submatrices.

    c = aT * b

    static void multTransB​(int blockLength, org.ejml.data.DSubmatrixD1 A, org.ejml.data.DSubmatrixD1 B, org.ejml.data.DSubmatrixD1 C)
    Performs a matrix multiplication with a transpose on DMatrixRBlock submatrices.

    c = a * b T

    Methods inherited from class java.lang.Object

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

  • Method Details

    • mult

      public static void mult​(int blockLength, org.ejml.data.DSubmatrixD1 A, org.ejml.data.DSubmatrixD1 B, org.ejml.data.DSubmatrixD1 C)

      Performs a matrix multiplication on DMatrixRBlock submatrices.

      c = a * b

      It is assumed that all submatrices start at the beginning of a block and end at the end of a block.

      Parameters:
      blockLength - Size of the blocks in the submatrix.
      A - A submatrix. Not modified.
      B - A submatrix. Not modified.
      C - Result of the operation. Modified,
    • multPlus

      public static void multPlus​(int blockLength, org.ejml.data.DSubmatrixD1 A, org.ejml.data.DSubmatrixD1 B, org.ejml.data.DSubmatrixD1 C)

      Performs a matrix multiplication on DMatrixRBlock submatrices.

      c = c + a * b

      It is assumed that all submatrices start at the beginning of a block and end at the end of a block.

      Parameters:
      blockLength - Size of the blocks in the submatrix.
      A - A submatrix. Not modified.
      B - A submatrix. Not modified.
      C - Result of the operation. Modified,
    • multMinus

      public static void multMinus​(int blockLength, org.ejml.data.DSubmatrixD1 A, org.ejml.data.DSubmatrixD1 B, org.ejml.data.DSubmatrixD1 C)

      Performs a matrix multiplication on DMatrixRBlock submatrices.

      c = c - a * b

      It is assumed that all submatrices start at the beginning of a block and end at the end of a block.

      Parameters:
      blockLength - Size of the blocks in the submatrix.
      A - A submatrix. Not modified.
      B - A submatrix. Not modified.
      C - Result of the operation. Modified,
    • multTransA

      public static void multTransA​(int blockLength, org.ejml.data.DSubmatrixD1 A, org.ejml.data.DSubmatrixD1 B, org.ejml.data.DSubmatrixD1 C)

      Performs a matrix multiplication with a transpose on DMatrixRBlock submatrices.

      c = aT * b

      It is assumed that all submatrices start at the beginning of a block and end at the end of a block.

      Parameters:
      blockLength - Size of the blocks in the submatrix.
      A - A submatrix. Not modified.
      B - A submatrix. Not modified.
      C - Result of the operation. Modified,
    • multPlusTransA

      public static void multPlusTransA​(int blockLength, org.ejml.data.DSubmatrixD1 A, org.ejml.data.DSubmatrixD1 B, org.ejml.data.DSubmatrixD1 C)
    • multMinusTransA

      public static void multMinusTransA​(int blockLength, org.ejml.data.DSubmatrixD1 A, org.ejml.data.DSubmatrixD1 B, org.ejml.data.DSubmatrixD1 C)
    • multTransB

      public static void multTransB​(int blockLength, org.ejml.data.DSubmatrixD1 A, org.ejml.data.DSubmatrixD1 B, org.ejml.data.DSubmatrixD1 C)

      Performs a matrix multiplication with a transpose on DMatrixRBlock submatrices.

      c = a * b T

      It is assumed that all submatrices start at the beginning of a block and end at the end of a block.

      Parameters:
      blockLength - Length of the blocks in the submatrix.
      A - A submatrix. Not modified.
      B - A submatrix. Not modified.
      C - Result of the operation. Modified,