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