vSdot(_:_:_:)
Computes the dot product of two vectors.
Declaration
func vSdot(_ n: Int32, _ x: UnsafePointer<vFloat>, _ y: UnsafePointer<vFloat>) -> FloatParameters
- n:
Number of elements in vectors
xandy; must be a multiple of 4. - x:
A vector array of
floatvalues. - y:
A second vector array of
floatvalues.
Return Value
The dot product of the two vectors.