Class KroneckerProduct

java.lang.Object
dev.nm.algebra.linear.matrix.doubles.matrixtype.dense.DenseMatrix
dev.nm.algebra.linear.matrix.doubles.operation.KroneckerProduct
All Implemented Interfaces:
Matrix, MatrixAccess, MatrixRing, MatrixTable, Densifiable, AbelianGroup<Matrix>, Monoid<Matrix>, Ring<Matrix>, Table, DeepCopyable

public class KroneckerProduct extends DenseMatrix
Given an m-by-n matrix A and a p-by-q matrix B, their Kronecker product C, also called their matrix direct product, is an (mp)-by-(nq) matrix with entries defined by
cst = aij bkl
where

 s = p(i - 1) + k
 t = q(j - 1) + l
 
See Also:
  • Constructor Details

    • KroneckerProduct

      public KroneckerProduct(Matrix A, Matrix B)
      Construct the Kronecker product of two matrices.
      Parameters:
      A - a matrix
      B - a matrix