Function

cblas_sdsdot(_:_:_:_:_:_:)

Computes the dot product of two single-precision vectors plus an initial single-precision value.

Declaration

func cblas_sdsdot(_ __N: Int32, _ __alpha: Float, _ __X: UnsafePointer<Float>!, _ __incX: Int32, _ __Y: UnsafePointer<Float>!, _ __incY: Int32) -> Float

Parameters

N

The number of elements in the vectors.

alpha

The initial value to add to the dot product.

X

Vector X.

incX

Stride within X. For example, if incX is 7, every 7th element is used.

Y

Vector Y.

incY

Stride within Y. For example, if incY is 7, every 7th element is used.

See Also

CATLAS and CBLAS Vector Functions

func catlas_caxpby(Int32, UnsafeRawPointer!, UnsafeRawPointer!, Int32, UnsafeRawPointer!, UnsafeMutableRawPointer!, Int32)

Computes the product of two vectors, scaling each one separately (single-precision complex).

func catlas_cset(Int32, UnsafeRawPointer!, UnsafeMutableRawPointer!, Int32)

Modifies a vector (single-precision complex) in place, setting each element to a given value.

func catlas_daxpby(Int32, Double, UnsafePointer<Double>!, Int32, Double, UnsafeMutablePointer<Double>!, Int32)

Computes the sum of two vectors, scaling each one separately (double-precision).

func catlas_dset(Int32, Double, UnsafeMutablePointer<Double>!, Int32)

Modifies a vector (double-precision) in place, setting each element to a given value.

func catlas_saxpby(Int32, Float, UnsafePointer<Float>!, Int32, Float, UnsafeMutablePointer<Float>!, Int32)

Computes the sum of two vectors, scaling each one separately (single-precision).

func catlas_sset(Int32, Float, UnsafeMutablePointer<Float>!, Int32)

Modifies a vector (single-precision) in place, setting each element to a given value.

func catlas_zaxpby(Int32, UnsafeRawPointer!, UnsafeRawPointer!, Int32, UnsafeRawPointer!, UnsafeMutableRawPointer!, Int32)

Computes the sum of two vectors, scaling each one separately (double-precision complex).

func catlas_zset(Int32, UnsafeRawPointer!, UnsafeMutableRawPointer!, Int32)

Modifies a vector (double-precision complex) in place, setting each element to a given value.

func cblas_cdotc_sub(Int32, UnsafeRawPointer!, Int32, UnsafeRawPointer!, Int32, UnsafeMutableRawPointer!)

Calculates the dot product of the complex conjugate of a single-precision complex vector with a second single-precision complex vector.

func cblas_dsdot(Int32, UnsafePointer<Float>!, Int32, UnsafePointer<Float>!, Int32) -> Double

Computes the double-precision dot product of a pair of single-precision vectors.

func cblas_zdotc_sub(Int32, UnsafeRawPointer!, Int32, UnsafeRawPointer!, Int32, UnsafeMutableRawPointer!)

Calculates the dot product of the complex conjugate of a double-precision complex vector with a second double-precision complex vector.