Generic Type Method

subtract(_:_:)

Returns the single-precision elementwise subtraction of a vector from a vector.

Declaration

static func subtract<T, U>(_ vectorA: U, _ vectorB: T) -> [Float] where T : AccelerateBuffer, U : AccelerateBuffer, T.Element == Float, U.Element == Float

See Also

Subtraction

static func subtract<T, U>(U, T) -> [Double]

Returns the double-precision elementwise subtraction of a vector from a vector.

static func subtract<T, U, V>(U, T, result: inout V)

Calculates the double-precision elementwise subtraction of a vector from a vector.

static func subtract<T, U, V>(U, T, result: inout V)

Calculates the single-precision elementwise subtraction of a vector from a vector.

static func subtract(DSPSplitComplex, from: DSPSplitComplex, count: Int, result: inout DSPSplitComplex)

Calculates the single-precision elementwise subtraction of a complex vector from a complex vector.

static func subtract(DSPDoubleSplitComplex, from: DSPDoubleSplitComplex, count: Int, result: inout DSPDoubleSplitComplex)

Calculates the double-precision elementwise subtraction of a complex vector from a complex vector.

static func subtract<T, U>(multiplication: (a: U, b: Double), T) -> [Double]

Returns the double-precision elementwise subtraction of a vector from the elementwise product of a vector and a scalar value.

static func subtract<S, T, U>(multiplication: (a: T, b: U), S) -> [Double]

Returns the double-precision elementwise subtraction of a vector from the elementwise product of a vector and a vector.

static func subtract<T, U>(multiplication: (a: U, b: Float), T) -> [Float]

Returns the single-precision elementwise subtraction of a vector from the elementwise product of a vector and a scalar value.

static func subtract<S, T, U>(multiplication: (a: T, b: U), S) -> [Float]

Returns the single-precision elementwise subtraction of a vector from the elementwise product of a vector and a vector.

static func subtract<T, U, V>(multiplication: (a: U, b: Double), T, result: inout V)

Calculates the double-precision elementwise subtraction of a vector from the elementwise product of a vector and a scalar value.

static func subtract<T, U, V>(multiplication: (a: U, b: Float), T, result: inout V)

Calculates the single-precision elementwise subtraction of a vector from the elementwise product of a vector and a scalar value.

static func subtract<S, T, U, V>(multiplication: (a: T, b: U), S, result: inout V)

Calculates the double-precision elementwise subtraction of a vector from the elementwise product of a vector and a vector.

static func subtract<S, T, U, V>(multiplication: (a: T, b: U), S, result: inout V)

Calculates the single-precision elementwise subtraction of a vector from the elementwise product of a vector and a vector.

static func subtract<R, S, T, U>(multiplication: (a: T, b: U), multiplication: (c: R, d: S)) -> [Double]

Returns the double-precision elementwise subtraction of an elementwise vector-vector product from a second elementwise vector-vector product.

static func subtract<R, S, T, U>(multiplication: (a: T, b: U), multiplication: (c: R, d: S)) -> [Float]

Returns the single-precision elementwise subtraction of an elementwise vector-vector product from a second elementwise vector-vector product.

static func subtract<R, S, T, U, V>(multiplication: (a: T, b: U), multiplication: (c: R, d: S), result: inout V)

Calculates the double-precision elementwise subtraction of an elementwise vector-vector product from a second elementwise vector-vector product.

static func subtract<R, S, T, U, V>(multiplication: (a: T, b: U), multiplication: (c: R, d: S), result: inout V)

Calculates the single-precision elementwise subtraction of an elementwise vector-vector product from a second elementwise vector-vector product.