Class CommonOps_MT_CDRM
CommonOps_CDRM with concurrent implementations.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidmult(float realAlpha, float imgAlpha, CMatrixRMaj a, CMatrixRMaj b, CMatrixRMaj c) Performs the following operation:
c = α * a * b
cij = α ∑k=1:n { * aik * bkj}static voidmult(CMatrixRMaj a, CMatrixRMaj b, CMatrixRMaj c) Performs the following operation:
c = a * b
cij = ∑k=1:n { * aik * bkj}static voidmultAdd(float realAlpha, float imgAlpha, CMatrixRMaj a, CMatrixRMaj b, CMatrixRMaj c) Performs the following operation:
c = c + α * a * b
cij = cij + α * ∑k=1:n { aik * bkj}static voidmultAdd(CMatrixRMaj a, CMatrixRMaj b, CMatrixRMaj c) Performs the following operation:
c = c + a * b
cij = cij + ∑k=1:n { aik * bkj}static voidmultAddTransA(float realAlpha, float imagAlpha, CMatrixRMaj a, CMatrixRMaj b, CMatrixRMaj c) Performs the following operation:
c = c + α * aH * b
cij =cij + α * ∑k=1:n { aki * bkj}static voidmultAddTransA(CMatrixRMaj a, CMatrixRMaj b, CMatrixRMaj c) Performs the following operation:
c = c + aH * b
cij = cij + ∑k=1:n { aki * bkj}static voidmultAddTransAB(float realAlpha, float imagAlpha, CMatrixRMaj a, CMatrixRMaj b, CMatrixRMaj c) Performs the following operation:
c = c + α * aH * bH
cij = cij + α * ∑k=1:n { aki * bjk}static voidmultAddTransAB(CMatrixRMaj a, CMatrixRMaj b, CMatrixRMaj c) Performs the following operation:
c = c + aH * bH
cij = cij + ∑k=1:n { aki * bjk}static voidmultAddTransB(float realAlpha, float imagAlpha, CMatrixRMaj a, CMatrixRMaj b, CMatrixRMaj c) Performs the following operation:
c = c + α * a * bH
cij = cij + α * ∑k=1:n { aik * bjk}static voidmultAddTransB(CMatrixRMaj a, CMatrixRMaj b, CMatrixRMaj c) Performs the following operation:
c = c + a * bH
cij = cij + ∑k=1:n { aik * bjk}static voidmultTransA(float realAlpha, float imagAlpha, CMatrixRMaj a, CMatrixRMaj b, CMatrixRMaj c) Performs the following operation:
c = α * aH * b
cij = α ∑k=1:n { aki * bkj}static voidmultTransA(CMatrixRMaj a, CMatrixRMaj b, CMatrixRMaj c) Performs the following operation:
c = aH * b
cij = ∑k=1:n { aki * bkj}static voidmultTransAB(float realAlpha, float imagAlpha, CMatrixRMaj a, CMatrixRMaj b, CMatrixRMaj c) Performs the following operation:
c = α * aH * bH
cij = α ∑k=1:n { aki * bjk}static voidmultTransAB(CMatrixRMaj a, CMatrixRMaj b, CMatrixRMaj c) Performs the following operation:
c = aT * bT
cij = ∑k=1:n { aki * bjk}static voidmultTransB(float realAlpha, float imagAlpha, CMatrixRMaj a, CMatrixRMaj b, CMatrixRMaj c) Performs the following operation:
c = α * a * bH
cij = α ∑k=1:n { aik * bjk}static voidmultTransB(CMatrixRMaj a, CMatrixRMaj b, CMatrixRMaj c) Performs the following operation:
c = a * bH
cij = ∑k=1:n { aik * bjk}
-
Constructor Details
-
CommonOps_MT_CDRM
public CommonOps_MT_CDRM()
-
-
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(float realAlpha, float imgAlpha, CMatrixRMaj a, CMatrixRMaj b, CMatrixRMaj 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(float realAlpha, float imgAlpha, CMatrixRMaj a, CMatrixRMaj b, CMatrixRMaj 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(float realAlpha, float imagAlpha, CMatrixRMaj a, CMatrixRMaj b, CMatrixRMaj 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(float realAlpha, float imagAlpha, CMatrixRMaj a, CMatrixRMaj b, CMatrixRMaj 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(float realAlpha, float imagAlpha, CMatrixRMaj a, CMatrixRMaj b, CMatrixRMaj 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(float realAlpha, float imagAlpha, CMatrixRMaj a, CMatrixRMaj b, CMatrixRMaj 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(float realAlpha, float imagAlpha, CMatrixRMaj a, CMatrixRMaj b, CMatrixRMaj 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(float realAlpha, float imagAlpha, CMatrixRMaj a, CMatrixRMaj b, CMatrixRMaj 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.
-