Class MatrixMatrixMult_DDRM
@Generated("org.ejml.dense.row.mult.GenerateMatrixMatrixMult_DDRM")
public class MatrixMatrixMult_DDRM
extends java.lang.Object
This class contains various types of matrix matrix multiplication operations for DMatrix1Row.
Two algorithms that are equivalent can often have very different runtime performance. This is because of how modern computers uses fast memory caches to speed up reading/writing to data. Depending on the order in which variables are processed different algorithms can run much faster than others, even if the number of operations is the same.
Algorithms that are labeled as 'reorder' are designed to avoid caching jumping issues, some times at the cost of increasing the number of operations. This is important for large matrices. The straight forward implementation seems to be faster for small matrices.
Algorithms that are labeled as 'aux' use an auxiliary array of length n. This array is used to create a copy of an out of sequence column vector that is referenced several times. This reduces the number of cache misses. If the 'aux' parameter passed in is null then the array is declared internally.
Typically the straight forward implementation runs about 30% faster on smaller matrices and about 5 times slower on larger matrices. This is all computer architecture and matrix shape/size specific.
DO NOT MODIFY. Automatically generated code created by GenerateMatrixMatrixMult_DDRM
-
Constructor Summary
Constructors Constructor Description MatrixMatrixMult_DDRM() -
Method Summary
Modifier and Type Method Description static voidmult_aux(double alpha, org.ejml.data.DMatrix1Row A, org.ejml.data.DMatrix1Row B, org.ejml.data.DMatrix1Row C, @org.jetbrains.annotations.Nullable double[] aux)static voidmult_aux(org.ejml.data.DMatrix1Row A, org.ejml.data.DMatrix1Row B, org.ejml.data.DMatrix1Row C, @org.jetbrains.annotations.Nullable double[] aux)static voidmult_reorder(double alpha, org.ejml.data.DMatrix1Row A, org.ejml.data.DMatrix1Row B, org.ejml.data.DMatrix1Row C)static voidmult_reorder(org.ejml.data.DMatrix1Row A, org.ejml.data.DMatrix1Row B, org.ejml.data.DMatrix1Row C)static voidmult_small(double alpha, org.ejml.data.DMatrix1Row A, org.ejml.data.DMatrix1Row B, org.ejml.data.DMatrix1Row C)static voidmult_small(org.ejml.data.DMatrix1Row A, org.ejml.data.DMatrix1Row B, org.ejml.data.DMatrix1Row C)static voidmultAdd_aux(double alpha, org.ejml.data.DMatrix1Row A, org.ejml.data.DMatrix1Row B, org.ejml.data.DMatrix1Row C, @org.jetbrains.annotations.Nullable double[] aux)static voidmultAdd_aux(org.ejml.data.DMatrix1Row A, org.ejml.data.DMatrix1Row B, org.ejml.data.DMatrix1Row C, @org.jetbrains.annotations.Nullable double[] aux)static voidmultAdd_reorder(double alpha, org.ejml.data.DMatrix1Row A, org.ejml.data.DMatrix1Row B, org.ejml.data.DMatrix1Row C)static voidmultAdd_reorder(org.ejml.data.DMatrix1Row A, org.ejml.data.DMatrix1Row B, org.ejml.data.DMatrix1Row C)static voidmultAdd_small(double alpha, org.ejml.data.DMatrix1Row A, org.ejml.data.DMatrix1Row B, org.ejml.data.DMatrix1Row C)static voidmultAdd_small(org.ejml.data.DMatrix1Row A, org.ejml.data.DMatrix1Row B, org.ejml.data.DMatrix1Row C)static voidmultAddTransA_reorder(double alpha, org.ejml.data.DMatrix1Row A, org.ejml.data.DMatrix1Row B, org.ejml.data.DMatrix1Row C)static voidmultAddTransA_reorder(org.ejml.data.DMatrix1Row A, org.ejml.data.DMatrix1Row B, org.ejml.data.DMatrix1Row C)static voidmultAddTransA_small(double alpha, org.ejml.data.DMatrix1Row A, org.ejml.data.DMatrix1Row B, org.ejml.data.DMatrix1Row C)static voidmultAddTransA_small(org.ejml.data.DMatrix1Row A, org.ejml.data.DMatrix1Row B, org.ejml.data.DMatrix1Row C)static voidmultAddTransAB(double alpha, org.ejml.data.DMatrix1Row A, org.ejml.data.DMatrix1Row B, org.ejml.data.DMatrix1Row C)static voidmultAddTransAB(org.ejml.data.DMatrix1Row A, org.ejml.data.DMatrix1Row B, org.ejml.data.DMatrix1Row C)static voidmultAddTransAB_aux(double alpha, org.ejml.data.DMatrix1Row A, org.ejml.data.DMatrix1Row B, org.ejml.data.DMatrix1Row C, @org.jetbrains.annotations.Nullable double[] aux)static voidmultAddTransAB_aux(org.ejml.data.DMatrix1Row A, org.ejml.data.DMatrix1Row B, org.ejml.data.DMatrix1Row C, @org.jetbrains.annotations.Nullable double[] aux)static voidmultAddTransB(double alpha, org.ejml.data.DMatrix1Row A, org.ejml.data.DMatrix1Row B, org.ejml.data.DMatrix1Row C)static voidmultAddTransB(org.ejml.data.DMatrix1Row A, org.ejml.data.DMatrix1Row B, org.ejml.data.DMatrix1Row C)static voidmultTransA_reorder(double alpha, org.ejml.data.DMatrix1Row A, org.ejml.data.DMatrix1Row B, org.ejml.data.DMatrix1Row C)static voidmultTransA_reorder(org.ejml.data.DMatrix1Row A, org.ejml.data.DMatrix1Row B, org.ejml.data.DMatrix1Row C)static voidmultTransA_small(double alpha, org.ejml.data.DMatrix1Row A, org.ejml.data.DMatrix1Row B, org.ejml.data.DMatrix1Row C)static voidmultTransA_small(org.ejml.data.DMatrix1Row A, org.ejml.data.DMatrix1Row B, org.ejml.data.DMatrix1Row C)static voidmultTransAB(double alpha, org.ejml.data.DMatrix1Row A, org.ejml.data.DMatrix1Row B, org.ejml.data.DMatrix1Row C)static voidmultTransAB(org.ejml.data.DMatrix1Row A, org.ejml.data.DMatrix1Row B, org.ejml.data.DMatrix1Row C)static voidmultTransAB_aux(double alpha, org.ejml.data.DMatrix1Row A, org.ejml.data.DMatrix1Row B, org.ejml.data.DMatrix1Row C, @org.jetbrains.annotations.Nullable double[] aux)static voidmultTransAB_aux(org.ejml.data.DMatrix1Row A, org.ejml.data.DMatrix1Row B, org.ejml.data.DMatrix1Row C, @org.jetbrains.annotations.Nullable double[] aux)static voidmultTransB(double alpha, org.ejml.data.DMatrix1Row A, org.ejml.data.DMatrix1Row B, org.ejml.data.DMatrix1Row C)static voidmultTransB(org.ejml.data.DMatrix1Row A, org.ejml.data.DMatrix1Row B, org.ejml.data.DMatrix1Row C)
-
Constructor Details
-
MatrixMatrixMult_DDRM
public MatrixMatrixMult_DDRM()
-
-
Method Details
-
mult_reorder
public static void mult_reorder(org.ejml.data.DMatrix1Row A, org.ejml.data.DMatrix1Row B, org.ejml.data.DMatrix1Row C) -
mult_small
public static void mult_small(org.ejml.data.DMatrix1Row A, org.ejml.data.DMatrix1Row B, org.ejml.data.DMatrix1Row C) -
mult_aux
public static void mult_aux(org.ejml.data.DMatrix1Row A, org.ejml.data.DMatrix1Row B, org.ejml.data.DMatrix1Row C, @Nullable @org.jetbrains.annotations.Nullable double[] aux) -
multTransA_reorder
public static void multTransA_reorder(org.ejml.data.DMatrix1Row A, org.ejml.data.DMatrix1Row B, org.ejml.data.DMatrix1Row C) -
multTransA_small
public static void multTransA_small(org.ejml.data.DMatrix1Row A, org.ejml.data.DMatrix1Row B, org.ejml.data.DMatrix1Row C) -
multTransAB
public static void multTransAB(org.ejml.data.DMatrix1Row A, org.ejml.data.DMatrix1Row B, org.ejml.data.DMatrix1Row C) -
multTransAB_aux
public static void multTransAB_aux(org.ejml.data.DMatrix1Row A, org.ejml.data.DMatrix1Row B, org.ejml.data.DMatrix1Row C, @Nullable @org.jetbrains.annotations.Nullable double[] aux) -
multTransB
public static void multTransB(org.ejml.data.DMatrix1Row A, org.ejml.data.DMatrix1Row B, org.ejml.data.DMatrix1Row C) -
multAdd_reorder
public static void multAdd_reorder(org.ejml.data.DMatrix1Row A, org.ejml.data.DMatrix1Row B, org.ejml.data.DMatrix1Row C) -
multAdd_small
public static void multAdd_small(org.ejml.data.DMatrix1Row A, org.ejml.data.DMatrix1Row B, org.ejml.data.DMatrix1Row C) -
multAdd_aux
public static void multAdd_aux(org.ejml.data.DMatrix1Row A, org.ejml.data.DMatrix1Row B, org.ejml.data.DMatrix1Row C, @Nullable @org.jetbrains.annotations.Nullable double[] aux) -
multAddTransA_reorder
public static void multAddTransA_reorder(org.ejml.data.DMatrix1Row A, org.ejml.data.DMatrix1Row B, org.ejml.data.DMatrix1Row C) -
multAddTransA_small
public static void multAddTransA_small(org.ejml.data.DMatrix1Row A, org.ejml.data.DMatrix1Row B, org.ejml.data.DMatrix1Row C) -
multAddTransAB
public static void multAddTransAB(org.ejml.data.DMatrix1Row A, org.ejml.data.DMatrix1Row B, org.ejml.data.DMatrix1Row C) -
multAddTransAB_aux
public static void multAddTransAB_aux(org.ejml.data.DMatrix1Row A, org.ejml.data.DMatrix1Row B, org.ejml.data.DMatrix1Row C, @Nullable @org.jetbrains.annotations.Nullable double[] aux) -
multAddTransB
public static void multAddTransB(org.ejml.data.DMatrix1Row A, org.ejml.data.DMatrix1Row B, org.ejml.data.DMatrix1Row C) -
mult_reorder
public static void mult_reorder(double alpha, org.ejml.data.DMatrix1Row A, org.ejml.data.DMatrix1Row B, org.ejml.data.DMatrix1Row C) -
mult_small
public static void mult_small(double alpha, org.ejml.data.DMatrix1Row A, org.ejml.data.DMatrix1Row B, org.ejml.data.DMatrix1Row C) -
mult_aux
public static void mult_aux(double alpha, org.ejml.data.DMatrix1Row A, org.ejml.data.DMatrix1Row B, org.ejml.data.DMatrix1Row C, @Nullable @org.jetbrains.annotations.Nullable double[] aux) -
multTransA_reorder
public static void multTransA_reorder(double alpha, org.ejml.data.DMatrix1Row A, org.ejml.data.DMatrix1Row B, org.ejml.data.DMatrix1Row C) -
multTransA_small
public static void multTransA_small(double alpha, org.ejml.data.DMatrix1Row A, org.ejml.data.DMatrix1Row B, org.ejml.data.DMatrix1Row C) -
multTransAB
public static void multTransAB(double alpha, org.ejml.data.DMatrix1Row A, org.ejml.data.DMatrix1Row B, org.ejml.data.DMatrix1Row C) -
multTransAB_aux
public static void multTransAB_aux(double alpha, org.ejml.data.DMatrix1Row A, org.ejml.data.DMatrix1Row B, org.ejml.data.DMatrix1Row C, @Nullable @org.jetbrains.annotations.Nullable double[] aux) -
multTransB
public static void multTransB(double alpha, org.ejml.data.DMatrix1Row A, org.ejml.data.DMatrix1Row B, org.ejml.data.DMatrix1Row C) -
multAdd_reorder
public static void multAdd_reorder(double alpha, org.ejml.data.DMatrix1Row A, org.ejml.data.DMatrix1Row B, org.ejml.data.DMatrix1Row C) -
multAdd_small
public static void multAdd_small(double alpha, org.ejml.data.DMatrix1Row A, org.ejml.data.DMatrix1Row B, org.ejml.data.DMatrix1Row C) -
multAdd_aux
public static void multAdd_aux(double alpha, org.ejml.data.DMatrix1Row A, org.ejml.data.DMatrix1Row B, org.ejml.data.DMatrix1Row C, @Nullable @org.jetbrains.annotations.Nullable double[] aux) -
multAddTransA_reorder
public static void multAddTransA_reorder(double alpha, org.ejml.data.DMatrix1Row A, org.ejml.data.DMatrix1Row B, org.ejml.data.DMatrix1Row C) -
multAddTransA_small
public static void multAddTransA_small(double alpha, org.ejml.data.DMatrix1Row A, org.ejml.data.DMatrix1Row B, org.ejml.data.DMatrix1Row C) -
multAddTransAB
public static void multAddTransAB(double alpha, org.ejml.data.DMatrix1Row A, org.ejml.data.DMatrix1Row B, org.ejml.data.DMatrix1Row C) -
multAddTransAB_aux
public static void multAddTransAB_aux(double alpha, org.ejml.data.DMatrix1Row A, org.ejml.data.DMatrix1Row B, org.ejml.data.DMatrix1Row C, @Nullable @org.jetbrains.annotations.Nullable double[] aux) -
multAddTransB
public static void multAddTransB(double alpha, org.ejml.data.DMatrix1Row A, org.ejml.data.DMatrix1Row B, org.ejml.data.DMatrix1Row C)
-