Module roots

Module roots 

Source
Expand description

MATLAB-compatible roots builtin with GPU-aware semantics for RunMat.

This implementation mirrors MATLAB behaviour, including handling for leading zeros, constant polynomials, and complex-valued coefficients. GPU inputs are gathered to the host because companion matrix eigenvalue computations are currently performed on the CPU.

Constantsยง

FUSION_SPEC
GPU_SPEC