How to resolve the algorithm Kronecker product step by step in the Phix programming language

Published on 12 May 2024 09:40 PM

How to resolve the algorithm Kronecker product step by step in the Phix programming language

Table of Contents

Problem Statement

Implement the   Kronecker product   of two matrices (arbitrary sized) resulting in a block matrix.

Show results for each of the following two samples:

Sample 1 (from Wikipedia): Sample 2:

See implementations and results below in JavaScript and PARI/GP languages.

Let's start with the solution: