SylvesterMatrix.fromReal constructor

SylvesterMatrix.fromReal({
  1. required List<double> coefficients,
})

The constructor requires real coefficients for the polynomial P(x).

Implementation

SylvesterMatrix.fromReal({required List<double> coefficients})
    : _coefficients = UnmodifiableListView(
        coefficients.map((c) => Complex.fromReal(c)).toList(),
      );