Skip to content

Esta página también está en español.

Léela en español

このページは日本語でも読めます。

日本語で読む

本页也有简体中文版本。

阅读简体中文版本

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⁡((12),(11))=(1212)\displaystyle \operatorname{kronecker\_product}\left(\begin{pmatrix} 1 & 2 \end{pmatrix}, \begin{pmatrix} 1 \\ 1 \end{pmatrix}\right) = \begin{pmatrix} 1 & 2 \\ 1 & 2 \end{pmatrix}
    kronecker_product([[1, 2]], [[1], [1]])

    In the solver, kronecker_product([[1, 2]], [[1], [1]]) gives [[1, 2], [1, 2]].

    Open in the solver