SimdPoly5n(Vector256Double, Double, Double, Double, Double, Double) Method

Calculates x⁵+c₄x⁴+c₃x³+c₂x²+c₁x+c₀.

Definition

Namespace: Austra.Library.Helpers
Assembly: Austra.Library (in Austra.Library.dll) Version: 2.5.0+d1268756e036101f601080f153b3997e72fc912d
C#
public static Vector256<double> Poly5n(
	this Vector256<double> x,
	double c0,
	double c1,
	double c2,
	double c3,
	double c4
)

Parameters

x  Vector256Double
The real variable used for evaluation.
c0  Double
The constant term.
c1  Double
The linear term.
c2  Double
The quadratic term.
c3  Double
The cubic term.
c4  Double
The quartic term.

Return Value

Vector256Double
The evaluation of the polynomial at the given point.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type Vector256Double. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).

Remarks

It is assumed that the quintic term is one.

See Also