Enumeration

vForce

An enumeration that acts as a namespace for Swift overlays to vForce.

Declaration

enum vForce

Topics

Functions

static func acos<U>(U) -> [Double]

Returns the arccosine of each element in a vector of double-precision values.

static func acos<U>(U) -> [Float]

Returns the arccosine of each element in a vector of single-precision values.

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

Calculates the arccosine of each element in a vector of double-precision values.

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

Calculates the arccosine of each element in a vector of single-precision values.

static func acosh<U>(U) -> [Double]

Returns the inverse hyperbolic cosine of each element in a vector of double-precision values.

static func acosh<U>(U) -> [Float]

Returns the inverse hyperbolic cosine of each element in a vector of single-precision values.

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

Calculates the inverse hyperbolic cosine of each element in a vector of double-precision values.

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

Calculates the inverse hyperbolic cosine of each element in a vector of single-precision values.

static func asin<U>(U) -> [Double]

Returns the arcsine of each element in a vector of double-precision values.

static func asin<U>(U) -> [Float]

Returns the arcsine of each element in a vector of single-precision values.

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

Calculates the arcsine of each element in a vector of double-precision values.

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

Calculates the arcsine of each element in a vector of single-precision values.

static func asinh<U>(U) -> [Double]

Returns the inverse hyperbolic sine of each element in a vector of double-precision values.

static func asinh<U>(U) -> [Float]

Returns the inverse hyperbolic sine of each element in a vector of single-precision values.

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

Calculates the inverse hyperbolic sine of each element in a vector of double-precision values.

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

Calculates the inverse hyperbolic sine of each element in a vector of single-precision values.

static func atan<U>(U) -> [Double]

Returns the arctangent of each element in a vector of double-precision values.

static func atan<U>(U) -> [Float]

Returns the arctangent of each element in a vector of single-precision values.

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

Calculates the arctangent of each element in a vector of double-precision values.

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

Calculates the arctangent of each element in a vector of single-precision values.

static func atanh<U>(U) -> [Double]

Returns the inverse hyperbolic tangent of each element in a vector of double-precision values.

static func atanh<U>(U) -> [Float]

Returns the inverse hyperbolic tangent of each element in a vector of single-precision values.

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

Calculates the inverse hyperbolic tangent of each element in a vector of double-precision values.

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

Calculates the inverse hyperbolic tangent of each element in a vector of single-precision values.

static func ceil<U>(U) -> [Double]

Returns the ceiling of each element in a vector of double-precision values.

static func ceil<U>(U) -> [Float]

Returns the ceiling of each element in a vector of single-precision values.

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

Calculates the ceiling of each element in a vector of double-precision values.

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

Calculates the ceiling of each element in a vector of single-precision values.

static func copysign<U, V>(magnitudes: U, signs: V) -> [Double]

Returns each single-precision element in the magnitudes vector, setting its sign to the corresponding elements in the signs vector.

static func copysign<U, V>(magnitudes: U, signs: V) -> [Float]

Returns each single-precision element in the magnitudes vector, setting its sign to the corresponding elements in the signs vector.

static func copysign<T, U, V>(magnitudes: T, signs: U, result: inout V)

Calculates each double-precision element in the magnitudes vector, setting its sign to the corresponding elements in the signs vector.

static func copysign<T, U, V>(magnitudes: T, signs: U, result: inout V)

Calculates each single-precision element in the magnitudes vector, setting its sign to the corresponding elements in the signs vector.

static func cos<U>(U) -> [Double]

Returns the cosine of each element in a vector of double-precision values.

static func cos<U>(U) -> [Float]

Returns the cosine of each element in a vector of single-precision values.

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

Calculates the cosine of each element in a vector of double-precision values.

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

Calculates the cosine of each element in a vector of single-precision values.

static func cosPi<U>(U) -> [Double]

Returns the cosine of pi, multiplied by each element in a vector of double-precision values.

static func cosPi<U>(U) -> [Float]

Returns the cosine of pi, multiplied by each element in a vector of single-precision values.

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

Calculates the cosine of pi, multiplied by each element in a vector of double-precision values.

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

Calculates the cosine of pi, multiplied by each element in a vector of single-precision values.

static func cosh<U>(U) -> [Double]

Returns the hyperbolic cosine of each element in a vector of double-precision values.

static func cosh<U>(U) -> [Float]

Returns the hyperbolic cosine of each element in a vector of single-precision values.

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

Calculates the hyperbolic cosine of each element in a vector of double-precision values.

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

Calculates the hyperbolic cosine of each element in a vector of single-precision values.

static func exp<U>(U) -> [Double]

Returns the e, raised to the power of each element in a vector of double-precision values.

static func exp<U>(U) -> [Float]

Returns the e, raised to the power of each element in a vector of single-precision values.

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

Calculates the e, raised to the power of each element in a vector of double-precision values.

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

Calculates the e, raised to the power of each element in a vector of single-precision values.

static func exp2<U>(U) -> [Double]

Returns the 2, raised to the power of each element in a vector of double-precision values.

static func exp2<U>(U) -> [Float]

Returns the 2, raised to the power of each element in a vector of single-precision values.

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

Calculates the 2, raised to the power of each element in a vector of double-precision values.

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

Calculates the 2, raised to the power of each element in a vector of single-precision values.

static func expm1<U>(U) -> [Double]

Returns the eˣ-1 for each element in a vector of double-precision values.

static func expm1<U>(U) -> [Float]

Returns the eˣ-1 for each element in a vector of single-precision values.

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

Calculates the eˣ-1 for each element in a vector of double-precision values.

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

Calculates the eˣ-1 for each element in a vector of single-precision values.

static func floor<U>(U) -> [Double]

Returns the floor of each element in a vector of double-precision values.

static func floor<U>(U) -> [Float]

Returns the floor of each element in a vector of single-precision values.

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

Calculates the floor of each element in a vector of double-precision values.

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

Calculates the floor of each element in a vector of single-precision values.

static func log10<U>(U) -> [Double]

Returns the base 10 logarithm of each element in a vector of double-precision values.

static func log10<U>(U) -> [Float]

Returns the base 10 logarithm of each element in a vector of single-precision values.

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

Calculates the base 10 logarithm of each element in a vector of double-precision values.

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

Calculates the base 10 logarithm of each element in a vector of single-precision values.

static func log2<U>(U) -> [Double]

Returns the base 2 logarithm of each element in a vector of double-precision values.

static func log2<U>(U) -> [Float]

Returns the base 2 logarithm of each element in a vector of single-precision values.

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

Calculates the base 2 logarithm of each element in a vector of double-precision values.

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

Calculates the base 2 logarithm of each element in a vector of single-precision values.

static func logb<U>(U) -> [Double]

Returns the unbiased exponent of each element in a vector of double-precision values.

static func logb<U>(U) -> [Float]

Returns the unbiased exponent of each element in a vector of double-precision values.

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

Calculates the unbiased exponent of each element in a vector of double-precision values.

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

Calculates the unbiased exponent of each element in a vector of single-precision values.

static func nearestInteger<U>(U) -> [Double]

Returns the nearest integer to each element in a vector of double-precision values.

static func nearestInteger<U>(U) -> [Float]

Returns the nearest integer to each element in a vector of single-precision values.

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

Calculates the nearest integer to each element in a vector of double-precision values.

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

Calculates the nearest integer to each element in a vector of double-precision values.

static func pow<U, V>(bases: U, exponents: V) -> [Double]

Returns each double-precision element in the bases vector, raised to the power of the corresponding element in the exponents vector.

static func pow<U, V>(bases: U, exponents: V) -> [Float]

Returns each single-precision element in the bases vector, raised to the power of the corresponding element in the exponents vector.

static func pow<T, U, V>(bases: T, exponents: U, result: inout V)

Calculates each double-precision element in the bases vector, raised to the power of the corresponding element in the exponents vector.

static func pow<T, U, V>(bases: T, exponents: U, result: inout V)

Calculates each single-precision element in the bases vector, raised to the power of the corresponding element in the exponents vector.

static func reciprocal<U>(U) -> [Double]

Returns the reciprocal of each element in a vector of double-precision values.

static func reciprocal<U>(U) -> [Float]

Returns the reciprocal of each element in a vector of single-precision values.

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

Calculates the reciprocal of each element in a vector of double-precision values.

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

Calculates the reciprocal of each element in a vector of single-precision values.

static func remainder<U, V>(dividends: U, divisors: V) -> [Double]

Returns the remainder of the double-precision elements in dividends divided by the elements in divisors, using truncating division.

static func remainder<U, V>(dividends: U, divisors: V) -> [Float]

Returns the remainder of the single-precision elements in dividends divided by the elements in divisors, using truncating division.

static func remainder<T, U, V>(dividends: T, divisors: U, result: inout V)

Calculates the remainder of the double-precision elements in dividends divided by the elements in divisors, using truncating division.

static func remainder<T, U, V>(dividends: T, divisors: U, result: inout V)

Calculates the remainder of the single-precision elements in dividends divided by the elements in divisors, using truncating division.

static func rsqrt<U>(U) -> [Double]

Returns the reciprocal square root of each element in a vector of double-precision values.

static func rsqrt<U>(U) -> [Float]

Returns the reciprocal square root of each element in a vector of single-precision values.

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

Calculates the reciprocal square root of each element in a vector of double-precision values.

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

Calculates the reciprocal square root of each element in a vector of single-precision values.

static func sin<U>(U) -> [Double]

Returns the sine of each element in a vector of double-precision values.

static func sin<U>(U) -> [Float]

Returns the sine of each element in a vector of single-precision values.

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

Calculates the sine of each element in a vector of double-precision values.

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

Calculates the sine of each element in a vector of single-precision values.

static func sinPi<U>(U) -> [Double]

Returns the sine of pi, multiplied by each element in a vector of double-precision values.

static func sinPi<U>(U) -> [Float]

Returns the sine of pi, multiplied by each element in a vector of single-precision values.

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

Calculates the sine of pi, multiplied by each element in a vector of double-precision values.

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

Calculates the sine of pi, multiplied by each element in a vector of single-precision values.

static func sincos<T, U, V>(T, sinResult: inout U, cosResult: inout V)

Calculates the sine and cosine of each element in a vector of double-precision values.

static func sincos<T, U, V>(T, sinResult: inout U, cosResult: inout V)

Calculates the sine and cosine of each element in a vector of double-precision values.

static func sinh<U>(U) -> [Double]

Returns the hyperbolic sine of each element in a vector of double-precision values.

static func sinh<U>(U) -> [Float]

Returns the hyperbolic sine of each element in a vector of single-precision values.

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

Calculates the hyperbolic sine of each element in a vector of double-precision values.

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

Calculates the hyperbolic sine of each element in a vector of single-precision values.

static func sqrt<U>(U) -> [Double]

Returns the square root of each element in a vector of double-precision values.

static func sqrt<U>(U) -> [Float]

Returns the square root each element in a vector of single-precision values.

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

Calculates the square root of each element in a vector of double-precision values.

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

Calculates the square root of each element in a vector of single-precision values.

static func tan<U>(U) -> [Double]

Returns the tangent of each element in a vector of double-precision values.

static func tan<U>(U) -> [Float]

Returns the tangent of each element in a vector of single-precision values.

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

Calculates the tangent of each element in a vector of double-precision values.

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

Calculates the tangent of each element in a vector of single-precision values.

static func tanPi<U>(U) -> [Double]

Returns the tangent of pi, multiplied by each element in a vector of double-precision values.

static func tanPi<U>(U) -> [Float]

Returns the tangent of pi, multiplied by each element in a vector of single-precision values.

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

Calculates the tangent of pi, multiplied by each element in a vector of double-precision values.

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

Calculates the tangent of pi, multiplied by each element in a vector of single-precision values.

static func tanh<U>(U) -> [Double]

Returns the hyperbolic tangent of each element in a vector of double-precision values.

static func tanh<U>(U) -> [Float]

Returns the hyperbolic tangent of each element in a vector of single-precision values.

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

Calculates the hyperbolic tangent of each element in a vector of double-precision values.

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

Calculates the hyperbolic tangent of each element in a vector of single-precision values.

static func trunc<U>(U) -> [Double]

Returns the integer truncation of each element in a vector of double-precision values.

static func trunc<U>(U) -> [Float]

Returns the integer truncation of each element in a vector of single-precision values.

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

Calculates the integer truncation of each element in a vector of double-precision values.

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

Calculates the integer truncation of each element in a vector of single-precision values.

static func truncatingRemainder<U, V>(dividends: U, divisors: V) -> [Double]

Returns the remainder of the double-precision elements in dividends divided by the elements in divisors, using truncating division.

static func truncatingRemainder<U, V>(dividends: U, divisors: V) -> [Float]

Returns the remainder of the single-precision elements in dividends divided by the elements in divisors, using truncating division.

static func truncatingRemainder<T, U, V>(dividends: T, divisors: U, result: inout V)

Calculates the remainder of the double-precision elements in dividends divided by the elements in divisors, using truncating division.

static func truncatingRemainder<T, U, V>(dividends: T, divisors: U, result: inout V)

Calculates the remainder of the single-precision elements in dividends divided by the elements in divisors, using truncating division.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software