Function

# cblas_ssyr(_:_:_:_:_:_:_:_:)

Rank one update: adds a symmetric matrix to the product of a scaling factor, a vector, and its transpose (single precision).

## Parameters

`Order`

Specifies row-major (C) or column-major (Fortran) data ordering.

`Uplo`

Specifies whether to use the upper or lower triangle from the matrix. Valid values are `'U'` or `'L'`.

`N`

Order of matrix `A`; number of elements in vector `x`.

`alpha`

Scaling factor to multiply `x` by.

`X`

Vector `x`.

`incX`

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

`A`

Matrix `A`.

`lda`

Leading dimension of array containing matrix `A`.

## Discussion

Calculates `A + alpha*x*xT` and stores the result in `A`.

### Single-Precision Float Matrix Functions

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

Computes the sum of the absolute values of elements in a vector (single-precision).

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

Computes the L2 norm (Euclidian length) of a vector (single precision).

`func cblas_sscal(Int32, Float, UnsafeMutablePointer<Float>!, Int32)`

Multiplies each element of a vector by a constant (single-precision).

`func cblas_sspmv(CBLAS_ORDER, CBLAS_UPLO, Int32, Float, UnsafePointer<Float>!, UnsafePointer<Float>!, Int32, Float, UnsafeMutablePointer<Float>!, Int32)`

Scales a packed symmetric matrix, then multiplies by a vector, then scales and adds another vector (single precision).

`func cblas_sspr(CBLAS_ORDER, CBLAS_UPLO, Int32, Float, UnsafePointer<Float>!, Int32, UnsafeMutablePointer<Float>!)`

Rank one update: adds a packed symmetric matrix to the product of a scaling factor, a vector, and its transpose (single precision).