Package org.flag4j.linalg.ops
Class DirectSum
java.lang.Object
org.flag4j.linalg.ops.DirectSum
Utility class for computing the direct sum between two matrices.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic CMatrix
Computes the direct sum of two matrices.static CMatrix
Computes the direct sum of two matrices.static CMatrix
directSum
(CMatrix A, CooCMatrix B) Computes the direct sum of two matrices.static CMatrix
Computes the direct sum of two matrices.static CMatrix
Computes the direct sum of two matrices.static Matrix
Computes the direct sum of two matrices.static CMatrix
directSum
(Matrix A, CooCMatrix B) Computes the direct sum of two matrices.static Matrix
Computes the direct sum of two matrices.static CooCMatrix
directSum
(CooCMatrix A, CMatrix B) Computes the direct sum of two matrices.static CooCMatrix
directSum
(CooCMatrix A, Matrix B) Computes the direct sum of two matrices.static CooCMatrix
directSum
(CooCMatrix A, CooCMatrix B) Computes the direct sum of two matrices.static CooCMatrix
directSum
(CooCMatrix A, CooMatrix B) Computes the direct sum of two matrices.static CooCMatrix
Computes the direct sum of two matrices.static CooMatrix
Computes the direct sum of two matrices.static CooCMatrix
directSum
(CooMatrix A, CooCMatrix B) Computes the direct sum of two matrices.static CooMatrix
Computes the direct sum of two matrices.directSum
(CsrCMatrix A, CMatrix B) Computes the direct sum of two matrices.directSum
(CsrCMatrix A, Matrix B) Computes the direct sum of two matrices.directSum
(CsrCMatrix A, CooCMatrix B) Computes the direct sum of two matrices.directSum
(CsrCMatrix A, CooMatrix B) Computes the direct sum of two matrices.static CsrCMatrix
Computes the direct sum of two matrices.static CsrMatrix
Computes the direct sum of two matrices.static CsrCMatrix
directSum
(CsrMatrix A, CooCMatrix B) Computes the direct sum of two matrices.static CsrMatrix
Computes the direct sum of two matrices.static CMatrix
invDirectSum
(CMatrix A, CMatrix B) Computes direct sum from bottom left to top right of two matrices.static CMatrix
invDirectSum
(CMatrix A, Matrix B) Computes direct sum from bottom left to top right of two matrices.static CMatrix
invDirectSum
(CMatrix A, CooCMatrix B) Computes direct sum from bottom left to top right of two matrices.static CMatrix
invDirectSum
(CMatrix A, CooMatrix B) Computes direct sum from bottom left to top right of two matrices.static CMatrix
invDirectSum
(Matrix A, CMatrix B) Computes direct sum from bottom left to top right of two matrices.static Matrix
invDirectSum
(Matrix A, Matrix B) Computes direct sum from bottom left to top right of two matrices.static CMatrix
invDirectSum
(Matrix A, CooCMatrix B) Computes direct sum from bottom left to top right of two matrices.static Matrix
invDirectSum
(Matrix A, CooMatrix B) Computes direct sum from bottom left to top right of two matrices.static CooCMatrix
invDirectSum
(CooCMatrix A, CMatrix B) Computes direct sum from bottom left to top right of two matrices.static CooCMatrix
invDirectSum
(CooCMatrix A, Matrix B) Computes direct sum from bottom left to top right of two matrices.static CooCMatrix
invDirectSum
(CooCMatrix A, CooCMatrix B) Computes direct sum from bottom left to top right of two matrices.static CooCMatrix
invDirectSum
(CooCMatrix A, CooMatrix B) Computes direct sum from bottom left to top right of two matrices.static CooCMatrix
invDirectSum
(CooMatrix A, CMatrix B) Computes direct sum from bottom left to top right of two matrices.static CooMatrix
invDirectSum
(CooMatrix A, Matrix B) Computes direct sum from bottom left to top right of two matrices.static CooCMatrix
invDirectSum
(CooMatrix A, CooCMatrix B) Computes direct sum from bottom left to top right of two matrices.static CooMatrix
invDirectSum
(CooMatrix A, CooMatrix B) Computes direct sum from bottom left to top right of two matrices.invDirectSum
(CsrCMatrix A, CMatrix B) Computes direct sum from bottom left to top right of two matrices.invDirectSum
(CsrCMatrix A, Matrix B) Computes direct sum from bottom left to top right of two matrices.invDirectSum
(CsrCMatrix A, CooCMatrix B) Computes direct sum from bottom left to top right of two matrices.invDirectSum
(CsrCMatrix A, CooMatrix B) Computes direct sum from bottom left to top right of two matrices.invDirectSum
(CsrCMatrix A, CsrMatrix B) Computes direct sum from bottom left to top right of two matrices.static CsrCMatrix
invDirectSum
(CsrMatrix A, CMatrix B) Computes direct sum from bottom left to top right of two matrices.static CsrMatrix
invDirectSum
(CsrMatrix A, Matrix B) Computes direct sum from bottom left to top right of two matrices.static CsrCMatrix
invDirectSum
(CsrMatrix A, CooCMatrix B) Computes direct sum from bottom left to top right of two matrices.static CsrMatrix
invDirectSum
(CsrMatrix A, CooMatrix B) Computes direct sum from bottom left to top right of two matrices.static CsrMatrix
invDirectSum
(CsrMatrix A, CsrMatrix B) Computes direct sum from bottom left to top right of two matrices.
-
Constructor Details
-
DirectSum
private DirectSum()
-
-
Method Details
-
directSum
-
directSum
-
directSum
-
directSum
Computes the direct sum of two matrices.- Parameters:
A
- First matrix in the direct sum.B
- Second matrix in the direct sum.- Returns:
- The result of direct summing
A
withB
.
-
invDirectSum
-
invDirectSum
-
invDirectSum
-
invDirectSum
Computes direct sum from bottom left to top right of two matrices.- Parameters:
A
- First matrix in the inverse direct sum.B
- Second matrix in inverse direct sum.- Returns:
- The result of inverse direct summing
A
withB
.
-
directSum
-
directSum
-
directSum
-
directSum
Computes the direct sum of two matrices.- Parameters:
A
- First matrix in the direct sum.B
- Second matrix in the direct sum.- Returns:
- The result of direct summing
A
withB
.
-
invDirectSum
-
invDirectSum
-
invDirectSum
-
invDirectSum
Computes direct sum from bottom left to top right of two matrices.- Parameters:
A
- First matrix in the inverse direct sum.B
- Second matrix in inverse direct sum.- Returns:
- The result of inverse direct summing
A
withB
.
-
directSum
-
directSum
-
directSum
Computes the direct sum of two matrices.- Parameters:
A
- First matrix in the direct sum.B
- Second matrix in the direct sum.- Returns:
- The result of direct summing this matrix with B.
-
directSum
Computes the direct sum of two matrices.- Parameters:
A
- First matrix in the direct sum.B
- Second matrix in the direct sum.- Returns:
- The result of direct summing this matrix with B.
-
invDirectSum
-
invDirectSum
-
invDirectSum
Computes direct sum from bottom left to top right of two matrices.- Parameters:
A
- First matrix in the inverse direct sum.B
- Second matrix in inverse direct sum.- Returns:
- The result of inverse direct summing this matrix with B.
-
invDirectSum
Computes direct sum from bottom left to top right of two matrices.- Parameters:
A
- First matrix in the inverse direct sum.B
- Second matrix in inverse direct sum.- Returns:
- The result of inverse direct summing this matrix with B.
-
directSum
Computes the direct sum of two matrices.- Parameters:
A
- First matrix in the direct sum.B
- Second matrix in the direct sum.- Returns:
- The result of direct summing this matrix with B.
-
directSum
Computes the direct sum of two matrices.- Parameters:
A
- First matrix in the direct sum.B
- Second matrix in the direct sum.- Returns:
- The result of direct summing this matrix with B.
-
directSum
Computes the direct sum of two matrices.- Parameters:
A
- First matrix in the direct sum.B
- Second matrix in the direct sum.- Returns:
- The result of direct summing this matrix with B.
-
directSum
Computes the direct sum of two matrices.- Parameters:
A
- First matrix in the direct sum.B
- Second matrix in the direct sum.- Returns:
- The result of direct summing this matrix with B.
-
invDirectSum
Computes direct sum from bottom left to top right of two matrices.- Parameters:
A
- First matrix in the inverse direct sum.B
- Second matrix in inverse direct sum.- Returns:
- The result of inverse direct summing this matrix with B.
-
invDirectSum
Computes direct sum from bottom left to top right of two matrices.- Parameters:
A
- First matrix in the inverse direct sum.B
- Second matrix in inverse direct sum.- Returns:
- The result of inverse direct summing this matrix with B.
-
invDirectSum
Computes direct sum from bottom left to top right of two matrices.- Parameters:
A
- First matrix in the inverse direct sum.B
- Second matrix in inverse direct sum.- Returns:
- The result of inverse direct summing this matrix with B.
-
invDirectSum
Computes direct sum from bottom left to top right of two matrices.- Parameters:
A
- First matrix in the inverse direct sum.B
- Second matrix in inverse direct sum.- Returns:
- The result of inverse direct summing this matrix with B.
-
directSum
-
directSum
-
directSum
Computes the direct sum of two matrices.- Parameters:
A
- First matrix in the direct sum.B
- Second matrix in the direct sum.- Returns:
- The result of direct summing
A
withB
.
-
directSum
Computes the direct sum of two matrices.- Parameters:
A
- First matrix in the direct sum.B
- Second matrix in the direct sum.- Returns:
- The result of direct summing
A
withB
.
-
invDirectSum
-
invDirectSum
-
invDirectSum
-
invDirectSum
Computes direct sum from bottom left to top right of two matrices.- Parameters:
A
- First matrix in the inverse direct sum.B
- Second matrix in inverse direct sum.- Returns:
- The result of inverse direct summing
A
withB
.
-
invDirectSum
Computes direct sum from bottom left to top right of two matrices.- Parameters:
A
- First matrix in the inverse direct sum.B
- Second matrix in inverse direct sum.- Returns:
- The result of inverse direct summing
A
withB
.
-
directSum
Computes the direct sum of two matrices.- Parameters:
A
- First matrix in the direct sum.B
- Second matrix in the direct sum.- Returns:
- The result of direct summing this matrix with B.
-
directSum
Computes the direct sum of two matrices.- Parameters:
A
- First matrix in the direct sum.B
- Second matrix in the direct sum.- Returns:
- The result of direct summing this matrix with B.
-
directSum
Computes the direct sum of two matrices.- Parameters:
A
- First matrix in the direct sum.B
- Second matrix in the direct sum.- Returns:
- The result of direct summing this matrix with B.
-
directSum
Computes the direct sum of two matrices.- Parameters:
A
- First matrix in the direct sum.B
- Second matrix in the direct sum.- Returns:
- The result of direct summing this matrix with B.
-
invDirectSum
Computes direct sum from bottom left to top right of two matrices.- Parameters:
A
- First matrix in the inverse direct sum.B
- Second matrix in inverse direct sum.- Returns:
- The result of inverse direct summing this matrix with B.
-
invDirectSum
Computes direct sum from bottom left to top right of two matrices.- Parameters:
A
- First matrix in the inverse direct sum.B
- Second matrix in inverse direct sum.- Returns:
- The result of inverse direct summing this matrix with B.
-
invDirectSum
Computes direct sum from bottom left to top right of two matrices.- Parameters:
A
- First matrix in the inverse direct sum.B
- Second matrix in inverse direct sum.- Returns:
- The result of inverse direct summing this matrix with B.
-
invDirectSum
Computes direct sum from bottom left to top right of two matrices.- Parameters:
A
- First matrix in the inverse direct sum.B
- Second matrix in inverse direct sum.- Returns:
- The result of inverse direct summing this matrix with B.
-
invDirectSum
Computes direct sum from bottom left to top right of two matrices.- Parameters:
A
- First matrix in the inverse direct sum.B
- Second matrix in inverse direct sum.- Returns:
- The result of inverse direct summing this matrix with B.
-