copyWith method
Creates a deep copy of this object with the given fields replaced with the new values.
Implementation
Laguerre copyWith({
List<Complex>? coefficients,
Complex? initialGuess,
double? precision,
int? maxSteps,
}) =>
Laguerre(
coefficients: coefficients ?? List<Complex>.from(this.coefficients),
initialGuess: initialGuess ?? this.initialGuess,
precision: precision ?? this.precision,
maxSteps: maxSteps ?? this.maxSteps,
);