Function

# catlas_caxpby(_:_:_:_:_:_:_:)

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

## Parameters

`N`

Number of elements in the vector.

`alpha`

Scaling factor for `X`.

`X`

Input vector `X`.

`incX`

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

`beta`

Scaling factor for Y.

`Y`

Input vector `Y`.

`incY`

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

## Discussion

On return, the contents of vector `Y` are replaced with the result.

### CATLAS and CBLAS Vector Functions

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

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

`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_zset(Int32, UnsafeRawPointer!, UnsafeMutableRawPointer!, Int32)`

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

`func cblas_sdsdot(Int32, Float, UnsafePointer<Float>!, Int32, UnsafePointer<Float>!, Int32) -> Float`

Computes the dot product of two single-precision vectors plus an initial single-precision 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.