Skip to main content

kron

Overloads​

NameDescription
kron(const BoolArray lhs, const BoolArray rhs) -> BoolArrayComputes the Kronecker product between two arrays or matrices. It is defined as...
kron(const IntegerArray lhs, const IntegerArray rhs) -> IntegerArrayComputes the Kronecker product between two arrays or matrices. It is defined as...
kron(const ComplexArray lhs, const ComplexArray rhs) -> ComplexArrayComputes the Kronecker product between two arrays or matrices. It is defined as...
kron(const RealMatrix lhs, const RealMatrix rhs) -> RealMatrixComputes the Kronecker product between two arrays or matrices. It is defined as...
kron(const ComplexMatrix lhs, const ComplexMatrix rhs) -> ComplexMatrixComputes the Kronecker product between two arrays or matrices. It is defined as...
kron(const RealArray lhs, const RealArray rhs) -> RealArrayComputes the Kronecker product between two arrays or matrices. It is defined as...

kron(const BoolArray lhs, const BoolArray rhs) -> BoolArray​

Computes the Kronecker product between two arrays or matrices. It is defined as

A⊗B=[b11A⋯b1nA⋮⋱⋮bm1A⋯bmnA] \mathbf{A}\otimes\mathbf{B} = \begin{bmatrix} b_{11} \mathbf{A} & \cdots & b_{1n}\mathbf{A} \\ \vdots & \ddots & \vdots \\ b_{m1} \mathbf{A} & \cdots & b_{mn} \mathbf{A} \end{bmatrix}

Parameters​

kron(const IntegerArray lhs, const IntegerArray rhs) -> IntegerArray​

Computes the Kronecker product between two arrays or matrices. It is defined as

A⊗B=[b11A⋯b1nA⋮⋱⋮bm1A⋯bmnA] \mathbf{A}\otimes\mathbf{B} = \begin{bmatrix} b_{11} \mathbf{A} & \cdots & b_{1n}\mathbf{A} \\ \vdots & \ddots & \vdots \\ b_{m1} \mathbf{A} & \cdots & b_{mn} \mathbf{A} \end{bmatrix}

Parameters​

kron(const ComplexArray lhs, const ComplexArray rhs) -> ComplexArray​

Computes the Kronecker product between two arrays or matrices. It is defined as

A⊗B=[b11A⋯b1nA⋮⋱⋮bm1A⋯bmnA] \mathbf{A}\otimes\mathbf{B} = \begin{bmatrix} b_{11} \mathbf{A} & \cdots & b_{1n}\mathbf{A} \\ \vdots & \ddots & \vdots \\ b_{m1} \mathbf{A} & \cdots & b_{mn} \mathbf{A} \end{bmatrix}

Parameters​

kron(const RealMatrix lhs, const RealMatrix rhs) -> RealMatrix​

Computes the Kronecker product between two arrays or matrices. It is defined as

A⊗B=[b11A⋯b1nA⋮⋱⋮bm1A⋯bmnA] \mathbf{A}\otimes\mathbf{B} = \begin{bmatrix} b_{11} \mathbf{A} & \cdots & b_{1n}\mathbf{A} \\ \vdots & \ddots & \vdots \\ b_{m1} \mathbf{A} & \cdots & b_{mn} \mathbf{A} \end{bmatrix}

Parameters​

kron(const ComplexMatrix lhs, const ComplexMatrix rhs) -> ComplexMatrix​

Computes the Kronecker product between two arrays or matrices. It is defined as

A⊗B=[b11A⋯b1nA⋮⋱⋮bm1A⋯bmnA] \mathbf{A}\otimes\mathbf{B} = \begin{bmatrix} b_{11} \mathbf{A} & \cdots & b_{1n}\mathbf{A} \\ \vdots & \ddots & \vdots \\ b_{m1} \mathbf{A} & \cdots & b_{mn} \mathbf{A} \end{bmatrix}

Parameters​

kron(const RealArray lhs, const RealArray rhs) -> RealArray​

Computes the Kronecker product between two arrays or matrices. It is defined as

A⊗B=[b11A⋯b1nA⋮⋱⋮bm1A⋯bmnA] \mathbf{A}\otimes\mathbf{B} = \begin{bmatrix} b_{11} \mathbf{A} & \cdots & b_{1n}\mathbf{A} \\ \vdots & \ddots & \vdots \\ b_{m1} \mathbf{A} & \cdots & b_{mn} \mathbf{A} \end{bmatrix}

Parameters​