Class DirectSum
java.lang.Object
org.flag4j.linalg.DirectSum
-
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.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.
-
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.
-