Class DirectSum
java.lang.Object
org.flag4j.linalg.DirectSum
Utility class for commuting the direct sum of two matrices.
-
Method Summary
Modifier and TypeMethodDescriptionstatic CMatrixComputes the direct sum of two matrices.static CMatrixComputes the direct sum of two matrices.static CMatrixdirectSum(CMatrix A, CooCMatrix B) Computes the direct sum of two matrices.static CMatrixComputes the direct sum of two matrices.static CMatrixComputes the direct sum of two matrices.static MatrixComputes the direct sum of two matrices.static CMatrixdirectSum(Matrix A, CooCMatrix B) Computes the direct sum of two matrices.static MatrixComputes the direct sum of two matrices.static CooCMatrixdirectSum(CooCMatrix A, CMatrix B) Computes the direct sum of two matrices.static CooCMatrixdirectSum(CooCMatrix A, Matrix B) Computes the direct sum of two matrices.static CooCMatrixdirectSum(CooCMatrix A, CooCMatrix B) Computes the direct sum of two matrices.static CooCMatrixdirectSum(CooCMatrix A, CooMatrix B) Computes the direct sum of two matrices.static CooCMatrixComputes the direct sum of two matrices.static CooMatrixComputes the direct sum of two matrices.static CooCMatrixdirectSum(CooMatrix A, CooCMatrix B) Computes the direct sum of two matrices.static CooMatrixComputes the direct sum of two matrices.static CMatrixinvDirectSum(CMatrix A, CMatrix B) Computes direct sum from bottom left to top right of two matrices.static CMatrixinvDirectSum(CMatrix A, Matrix B) Computes direct sum from bottom left to top right of two matrices.static CMatrixinvDirectSum(CMatrix A, CooCMatrix B) Computes direct sum from bottom left to top right of two matrices.static CMatrixinvDirectSum(CMatrix A, CooMatrix B) Computes direct sum from bottom left to top right of two matrices.static CMatrixinvDirectSum(Matrix A, CMatrix B) Computes direct sum from bottom left to top right of two matrices.static MatrixinvDirectSum(Matrix A, Matrix B) Computes direct sum from bottom left to top right of two matrices.static CMatrixinvDirectSum(Matrix A, CooCMatrix B) Computes direct sum from bottom left to top right of two matrices.static MatrixinvDirectSum(Matrix A, CooMatrix B) Computes direct sum from bottom left to top right of two matrices.static CooCMatrixinvDirectSum(CooCMatrix A, CMatrix B) Computes direct sum from bottom left to top right of two matrices.static CooCMatrixinvDirectSum(CooCMatrix A, Matrix B) Computes direct sum from bottom left to top right of two matrices.static CooCMatrixinvDirectSum(CooCMatrix A, CooCMatrix B) Computes direct sum from bottom left to top right of two matrices.static CooCMatrixinvDirectSum(CooCMatrix A, CooMatrix B) Computes direct sum from bottom left to top right of two matrices.static CooCMatrixinvDirectSum(CooMatrix A, CMatrix B) Computes direct sum from bottom left to top right of two matrices.static CooMatrixinvDirectSum(CooMatrix A, Matrix B) Computes direct sum from bottom left to top right of two matrices.static CooCMatrixinvDirectSum(CooMatrix A, CooCMatrix B) Computes direct sum from bottom left to top right of two matrices.static CooMatrixinvDirectSum(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
AwithB.
-
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
AwithB.
-
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
AwithB.
-
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
AwithB.
-
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.
-