Contents

vSdot(_:_:_:)

Computes the dot product of two vectors.

Declaration

func vSdot(_ n: Int32, _ x: UnsafePointer<vFloat>, _ y: UnsafePointer<vFloat>) -> Float

Parameters

  • n:

    Number of elements in vectors x and y; must be a multiple of 4.

  • x:

    A vector array of float values.

  • y:

    A second vector array of float values.

Return Value

The dot product of the two vectors.

See Also

Vector-Scalar Linear Algebra Functions (from vectorOps.h)