kronecker_product function
Kronecker product of two matrices.
How to write it
kronecker_product(a, b)
- a
- A matrix. Takes a matrix, written as a list of rows.
- b
- A matrix. Takes a matrix, written as a list of rows.
Examples
kronecker_product([[1, 2]], [[1], [1]])In the solver,
Open in the solverkronecker_product([[1, 2]], [[1], [1]])gives[[1, 2], [1, 2]].
Related functions
- tensor_product
Tensor product of two lists or matrices.
- lower_triangularize
A matrix with the entries above the diagonal set to zero.
- jordan_form
Jordan normal form of a square matrix.
- lu_decomposition
LU decomposition of a matrix: the lower and upper factors and the row order.
- jordan_decomposition
Jordan decomposition of a square matrix: the matrix of generalized eigenvectors and the Jordan form.
- matrix_exp
Exponential of a square matrix.