Generic Type Method

integrate(_:using:stepSize:)

Returns the integration of a single-precision vector using the specified rule.

Declaration

static func integrate<U>(_ vector: U, using rule: vDSP.IntegrationRule, stepSize: Float = 1) -> [Float] where U : AccelerateBuffer, U.Element == Float

See Also

Integration

static func integrate<U>(U, using: vDSP.IntegrationRule, stepSize: Double) -> [Double]

Returns the integration of a double-precision vector using the specified rule.

static func integrate<U, V>(U, using: vDSP.IntegrationRule, stepSize: Double, result: inout V)

Performs the integration of a double-precision using the specified rule.

static func integrate<U, V>(U, using: vDSP.IntegrationRule, stepSize: Float, result: inout V)

Performs the integration of a single-precision using the specified rule.

enum vDSP.IntegrationRule

Integration rules.