Class CommonOps_MT_CDRM
CommonOps_CDRM
with concurrent implementations.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic 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}static void
mult
(CMatrixRMaj a, CMatrixRMaj b, CMatrixRMaj c) Performs the following operation:
c = a * b
cij = ∑k=1:n { * aik * bkj}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}static void
multAdd
(CMatrixRMaj a, CMatrixRMaj b, CMatrixRMaj c) Performs the following operation:
c = c + a * b
cij = cij + ∑k=1:n { aik * bkj}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}static void
multAddTransA
(CMatrixRMaj a, CMatrixRMaj b, CMatrixRMaj c) Performs the following operation:
c = c + aH * b
cij = cij + ∑k=1:n { aki * bkj}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}static void
multAddTransAB
(CMatrixRMaj a, CMatrixRMaj b, CMatrixRMaj c) Performs the following operation:
c = c + aH * bH
cij = cij + ∑k=1:n { aki * bjk}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}static void
multAddTransB
(CMatrixRMaj a, CMatrixRMaj b, CMatrixRMaj c) Performs the following operation:
c = c + a * bH
cij = cij + ∑k=1:n { aik * bjk}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}static void
multTransA
(CMatrixRMaj a, CMatrixRMaj b, CMatrixRMaj c) Performs the following operation:
c = aH * b
cij = ∑k=1:n { aki * bkj}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}static void
multTransAB
(CMatrixRMaj a, CMatrixRMaj b, CMatrixRMaj c) Performs the following operation:
c = aT * bT
cij = ∑k=1:n { aki * bjk}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}static void
multTransB
(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.
-