dCode is free and its tools are a valuable help in games, puzzles and problems to solve every day! You have a problem, an idea for a project, a specific need and dCode can not (yet) help you? You need custom development? Contact-me!

This page is using the new English version of dCode, please make comments !

Tool to calculate a Kronecker matrix product in computer algebra. The Kronecker product is a special case of tensor multiplication on matrices.

Answers to Questions

How to multiply 2 matrices with Kronecker?

Consider \( M_1=[a_{ij}] \) a matrix of \( m \) lines and \( n \) columns and \( M_2=[b_{ij}] \) a matrix of \( p \) lines and \( q \) columns. The Kronecker product is noted with ⊗ \( M_1 \otimes M_2 = [c_{ij}] \) is a larger matrix of \( m \times p \) lines and \( n \times q \) columns, with : $$ \forall i, j : c_{ij} = a_{ij}.B $$

What are matrix Kronecker multiplication properties?

Associativity : $$ A \otimes (B+ \lambda\ \cdot C) = (A \otimes B) + \lambda (A \otimes C) $$

$$ (A + \lambda\ \cdot B) \otimes C = (A \otimes C) + \lambda (B \otimes C) $$

$$ A \otimes ( B \otimes C) = (A \otimes B) \otimes C $$

$$ (A \otimes B) (C \otimes D) = (A C) \otimes (B D) $$

Ask a new question

Source code

dCode retains ownership of the source code of the script Kronecker Product. Except explicit open source licence (free / freeware), any algorithm, applet, software (converter, solver, encryption / decryption, encoding / decoding, ciphering / deciphering, translator), or any snippet or function (convert, solve, decrypt, encrypt, decipher, cipher, decode, code, translate) written in PHP (or Java, C#, Python, Javascript, etc.) which dCode owns rights can be transferred after sales quote. So if you need to download the Kronecker Product script for offline use, for you, your company or association, see you on contact page !

dCode uses cookies to customize the site content, analyze user behavior and adapt dCode to your use. Some data is stored and collected for advertising purposes and may be shared with our partners. OK