function
polynomial_evaluate
polynomial_evaluate[dtype: DType, simd_width: Int, coefficients: List[SIMD[$0, $1]], /, *, method: EvaluationMethod = 0](x: SIMD[dtype, simd_width]) -> SIMD[$0, $1]
Evaluates the polynomial.
Parameters:
- dtype (
DType
): The dtype of the value. - simd_width (
Int
): The simd_width of the computed value. - coefficients (
List[SIMD[$0, $1]]
): The coefficients. - method (
EvaluationMethod
): The evaluation method used.
Args:
- x (
SIMD[dtype, simd_width]
): The value to compute the polynomial with.
Returns:
The polynomial evaluation results using the specified value and the constant coefficients.