Polynomial Evaluation

No overview available.

Topics

Vector-to-Vector Polynomial Evaluation

static func evaluatePolynomial<U>(usingCoefficients: [Double], withVariables: U) -> [Double]

Returns a double-precision evaluated polynomial using specified coefficients and independent variables.

static func evaluatePolynomial<U>(usingCoefficients: [Float], withVariables: U) -> [Float]

Returns a single-precision evaluated polynomial using specified coefficients and independent variables.

static func evaluatePolynomial<U, V>(usingCoefficients: [Double], withVariables: U, result: inout V)

Evaluates a double-precision polynomial using specified coefficients and independent variables.

static func evaluatePolynomial<U, V>(usingCoefficients: [Float], withVariables: U, result: inout V)

Evaluates a single-precision polynomial using specified coefficients and independent variables.

func vDSP_vpoly(UnsafePointer<Float>, vDSP_Stride, UnsafePointer<Float>, vDSP_Stride, UnsafeMutablePointer<Float>, vDSP_Stride, vDSP_Length, vDSP_Length)

Evaluates a single-precision polynomial using specified coefficients, independent variables, and strides.

func vDSP_vpolyD(UnsafePointer<Double>, vDSP_Stride, UnsafePointer<Double>, vDSP_Stride, UnsafeMutablePointer<Double>, vDSP_Stride, vDSP_Length, vDSP_Length)

Evaluates a double-precision polynomial using specified coefficients, independent variables, and strides.

See Also

Vector-Vector Arithmetic

Real Basic Arithmetic

Perform elementwise operations on vectors of real values.

Complex Basic Arithmetic

Perform elementwise operations on vectors of complex values.

Integer Arithmetic

Perform elementwise operations on vectors of integer values.