Keyboard shortcuts

Press or to navigate between chapters

Press ? to show this help

Press Esc to hide this help

kron

Compute the Kronecker product for 2 given arrays.

Arguments

  • xs - The first sequence of len L.
  • ys - The second sequence of len L.

Returns

  • Result<Array<T>, KronError> - The Kronecker product.

Fully qualified path: alexandria_linalg::kron::kron

pub fn kron<T, +Mul<T>, +Copy<T>, +Drop<T>>(
    mut xs: Span<T>, mut ys: Span<T>,
) -> Result<Array<T>, KronError>