Class CommonOps_MT_ZDRM
CommonOps_ZDRM with concurrent implementations.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidmult(double realAlpha, double imgAlpha, ZMatrixRMaj a, ZMatrixRMaj b, ZMatrixRMaj c) Performs the following operation:
c = α * a * b
cij = α ∑k=1:n { * aik * bkj}static voidmult(ZMatrixRMaj a, ZMatrixRMaj b, ZMatrixRMaj c) Performs the following operation:
c = a * b
cij = ∑k=1:n { * aik * bkj}static voidmultAdd(double realAlpha, double imgAlpha, ZMatrixRMaj a, ZMatrixRMaj b, ZMatrixRMaj c) Performs the following operation:
c = c + α * a * b
cij = cij + α * ∑k=1:n { aik * bkj}static voidmultAdd(ZMatrixRMaj a, ZMatrixRMaj b, ZMatrixRMaj c) Performs the following operation:
c = c + a * b
cij = cij + ∑k=1:n { aik * bkj}static voidmultAddTransA(double realAlpha, double imagAlpha, ZMatrixRMaj a, ZMatrixRMaj b, ZMatrixRMaj c) Performs the following operation:
c = c + α * aH * b
cij =cij + α * ∑k=1:n { aki * bkj}static voidmultAddTransA(ZMatrixRMaj a, ZMatrixRMaj b, ZMatrixRMaj c) Performs the following operation:
c = c + aH * b
cij = cij + ∑k=1:n { aki * bkj}static voidmultAddTransAB(double realAlpha, double imagAlpha, ZMatrixRMaj a, ZMatrixRMaj b, ZMatrixRMaj c) Performs the following operation:
c = c + α * aH * bH
cij = cij + α * ∑k=1:n { aki * bjk}static voidmultAddTransAB(ZMatrixRMaj a, ZMatrixRMaj b, ZMatrixRMaj c) Performs the following operation:
c = c + aH * bH
cij = cij + ∑k=1:n { aki * bjk}static voidmultAddTransB(double realAlpha, double imagAlpha, ZMatrixRMaj a, ZMatrixRMaj b, ZMatrixRMaj c) Performs the following operation:
c = c + α * a * bH
cij = cij + α * ∑k=1:n { aik * bjk}static voidmultAddTransB(ZMatrixRMaj a, ZMatrixRMaj b, ZMatrixRMaj c) Performs the following operation:
c = c + a * bH
cij = cij + ∑k=1:n { aik * bjk}static voidmultTransA(double realAlpha, double imagAlpha, ZMatrixRMaj a, ZMatrixRMaj b, ZMatrixRMaj c) Performs the following operation:
c = α * aH * b
cij = α ∑k=1:n { aki * bkj}static voidmultTransA(ZMatrixRMaj a, ZMatrixRMaj b, ZMatrixRMaj c) Performs the following operation:
c = aH * b
cij = ∑k=1:n { aki * bkj}static voidmultTransAB(double realAlpha, double imagAlpha, ZMatrixRMaj a, ZMatrixRMaj b, ZMatrixRMaj c) Performs the following operation:
c = α * aH * bH
cij = α ∑k=1:n { aki * bjk}static voidmultTransAB(ZMatrixRMaj a, ZMatrixRMaj b, ZMatrixRMaj c) Performs the following operation:
c = aT * bT
cij = ∑k=1:n { aki * bjk}static voidmultTransB(double realAlpha, double imagAlpha, ZMatrixRMaj a, ZMatrixRMaj b, ZMatrixRMaj c) Performs the following operation:
c = α * a * bH
cij = α ∑k=1:n { aik * bjk}static voidmultTransB(ZMatrixRMaj a, ZMatrixRMaj b, ZMatrixRMaj c) Performs the following operation:
c = a * bH
cij = ∑k=1:n { aik * bjk}
-
Constructor Details
-
CommonOps_MT_ZDRM
public CommonOps_MT_ZDRM()
-
-
Method Details
-
mult
Performs the following operation:
c = a * b
cij = ∑k=1:n { * aik * bkj}- Parameters:
a- The left matrix in the multiplication operation. Not modified.b- The right matrix in the multiplication operation. Not modified.c- Where the results of the operation are stored. Modified.
-
mult
public static void mult(double realAlpha, double imgAlpha, ZMatrixRMaj a, ZMatrixRMaj b, ZMatrixRMaj c) Performs the following operation:
c = α * a * b
cij = α ∑k=1:n { * aik * bkj}- Parameters:
realAlpha- real component of scaling factor.imgAlpha- imaginary component of scaling factor.a- The left matrix in the multiplication operation. Not modified.b- The right matrix in the multiplication operation. Not modified.c- Where the results of the operation are stored. Modified.
-
multAdd
Performs the following operation:
c = c + a * b
cij = cij + ∑k=1:n { aik * bkj}- Parameters:
a- The left matrix in the multiplication operation. Not modified.b- The right matrix in the multiplication operation. Not modified.c- Where the results of the operation are stored. Modified.
-
multAdd
public static void multAdd(double realAlpha, double imgAlpha, ZMatrixRMaj a, ZMatrixRMaj b, ZMatrixRMaj c) Performs the following operation:
c = c + α * a * b
cij = cij + α * ∑k=1:n { aik * bkj}- Parameters:
realAlpha- real component of scaling factor.imgAlpha- imaginary component of scaling factor.a- The left matrix in the multiplication operation. Not modified.b- The right matrix in the multiplication operation. Not modified.c- Where the results of the operation are stored. Modified.
-
multTransA
Performs the following operation:
c = aH * b
cij = ∑k=1:n { aki * bkj}- Parameters:
a- The left matrix in the multiplication operation. Not modified.b- The right matrix in the multiplication operation. Not modified.c- Where the results of the operation are stored. Modified.
-
multTransA
public static void multTransA(double realAlpha, double imagAlpha, ZMatrixRMaj a, ZMatrixRMaj b, ZMatrixRMaj c) Performs the following operation:
c = α * aH * b
cij = α ∑k=1:n { aki * bkj}- Parameters:
realAlpha- Real component of scaling factor.imagAlpha- Imaginary component of scaling factor.a- The left matrix in the multiplication operation. Not modified.b- The right matrix in the multiplication operation. Not modified.c- Where the results of the operation are stored. Modified.
-
multTransB
Performs the following operation:
c = a * bH
cij = ∑k=1:n { aik * bjk}- Parameters:
a- The left matrix in the multiplication operation. Not modified.b- The right matrix in the multiplication operation. Not modified.c- Where the results of the operation are stored. Modified.
-
multTransB
public static void multTransB(double realAlpha, double imagAlpha, ZMatrixRMaj a, ZMatrixRMaj b, ZMatrixRMaj c) Performs the following operation:
c = α * a * bH
cij = α ∑k=1:n { aik * bjk}- Parameters:
realAlpha- Real component of scaling factor.imagAlpha- Imaginary component of scaling factor.a- The left matrix in the multiplication operation. Not modified.b- The right matrix in the multiplication operation. Not modified.c- Where the results of the operation are stored. Modified.
-
multTransAB
Performs the following operation:
c = aT * bT
cij = ∑k=1:n { aki * bjk}- Parameters:
a- The left matrix in the multiplication operation. Not modified.b- The right matrix in the multiplication operation. Not modified.c- Where the results of the operation are stored. Modified.
-
multTransAB
public static void multTransAB(double realAlpha, double imagAlpha, ZMatrixRMaj a, ZMatrixRMaj b, ZMatrixRMaj c) Performs the following operation:
c = α * aH * bH
cij = α ∑k=1:n { aki * bjk}- Parameters:
realAlpha- Real component of scaling factor.imagAlpha- Imaginary component of scaling factor.a- The left matrix in the multiplication operation. Not modified.b- The right matrix in the multiplication operation. Not modified.c- Where the results of the operation are stored. Modified.
-
multAddTransA
Performs the following operation:
c = c + aH * b
cij = cij + ∑k=1:n { aki * bkj}- Parameters:
a- The left matrix in the multiplication operation. Not modified.b- The right matrix in the multiplication operation. Not modified.c- Where the results of the operation are stored. Modified.
-
multAddTransA
public static void multAddTransA(double realAlpha, double imagAlpha, ZMatrixRMaj a, ZMatrixRMaj b, ZMatrixRMaj c) Performs the following operation:
c = c + α * aH * b
cij =cij + α * ∑k=1:n { aki * bkj}- Parameters:
realAlpha- Real component of scaling factor.imagAlpha- Imaginary component of scaling factor.a- The left matrix in the multiplication operation. Not modified.b- The right matrix in the multiplication operation. Not modified.c- Where the results of the operation are stored. Modified.
-
multAddTransB
Performs the following operation:
c = c + a * bH
cij = cij + ∑k=1:n { aik * bjk}- Parameters:
a- The left matrix in the multiplication operation. Not modified.b- The right matrix in the multiplication operation. Not modified.c- Where the results of the operation are stored. Modified.
-
multAddTransB
public static void multAddTransB(double realAlpha, double imagAlpha, ZMatrixRMaj a, ZMatrixRMaj b, ZMatrixRMaj c) Performs the following operation:
c = c + α * a * bH
cij = cij + α * ∑k=1:n { aik * bjk}- Parameters:
realAlpha- Real component of scaling factor.imagAlpha- Imaginary component of scaling factor.a- The left matrix in the multiplication operation. Not modified.b- The right matrix in the multiplication operation. Not modified.c- Where the results of the operation are stored. Modified.
-
multAddTransAB
Performs the following operation:
c = c + aH * bH
cij = cij + ∑k=1:n { aki * bjk}- Parameters:
a- The left matrix in the multiplication operation. Not Modified.b- The right matrix in the multiplication operation. Not Modified.c- Where the results of the operation are stored. Modified.
-
multAddTransAB
public static void multAddTransAB(double realAlpha, double imagAlpha, ZMatrixRMaj a, ZMatrixRMaj b, ZMatrixRMaj c) Performs the following operation:
c = c + α * aH * bH
cij = cij + α * ∑k=1:n { aki * bjk}- Parameters:
realAlpha- Real component of scaling factor.imagAlpha- Imaginary component of scaling factor.a- The left matrix in the multiplication operation. Not Modified.b- The right matrix in the multiplication operation. Not Modified.c- Where the results of the operation are stored. Modified.
-