IMPORTANT: To view this page as Markdown, append `.md` to the URL (e.g. /docs/manual/basics.md). For the complete Mojo documentation index, see llms.txt.
Skip to main content
Version: 1.0
For the complete Mojo documentation index, see llms.txt. Markdown versions of all pages are available by appending .md to any URL (e.g. /docs/manual/basics.md).

polynomial_evaluate

polynomial_evaluate[dtype: DType, width: Int, //, coefficients: Span[Scalar[dtype], coefficients.origin]](x: SIMD[dtype, width]) -> SIMD[dtype, width]

Evaluates the polynomial.

Parameters:

Args:

Returns:

SIMD[dtype, width]: The polynomial evaluation results using the specified value and the constant coefficients.