Skip to content

linalg#

Includes our linear algebra bindings.

Modules:

  • eig

    Includes our eig bindings.

  • eigvalsh

    Includes our eigvalsh bindings.

  • inv

    Includes our inv bindings.

  • kron

    Includes our kron bindings.

  • qr

    Includes our qr bindings.

  • svd

    Includes our svd bindings.

Functions:

  • kron_matmul

    Performs Kronecker matrix multiplication.

kron_matmul #

kron_matmul(m: NDArray, a: NDArray, vect: NDArray) -> NDArray

Performs Kronecker matrix multiplication.

Computes the product of a Kronecker product of matrices with a vector: (m ⊗ a) @ vect.

Parameters:

  • a (NDArray) –

    First matrix in the Kronecker product.

  • m (NDArray) –

    Second matrix in the Kronecker product.

  • vect (NDArray) –

    Vector to be multiplied.

Returns:

  • result ( NDArray ) –

    Resulting vector from the multiplication.