Function

cblas_dsyr2k(_:_:_:_:_:_:_:_:_:_:_:_:_:)

Performs a rank-2k update of a symmetric matrix (double 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'`.

`Trans`

Specifies whether to use matrix A (`'N'` or `'n'`), the transpose of A (`'T'` or `'t'`), or the conjugate of A (`'C'` or `'c'`).

`N`

Order of matrix `C`.

`K`

Specifies the number of columns in matrices `A` and `B` if `trans='N'`.

Specifies the number of rows if `trans='C'` or `trans='T'`).

`alpha`

Scaling factor for matrix `A`.

`A`

Matrix `A`.

`lda`

Leading dimension of array containing matrix `A`.

`B`

Matrix `B`.

`ldb`

Leading dimension of array containing matrix `B`.

`beta`

Scaling factor for matrix `C`.

`C`

Matrix `C`.

`ldc`

Leading dimension of array containing matrix `C`.

Discussion

Computes `alpha*A*BT + alpha*B*AT +beta*C`

Double-Precision Float Matrix Functions

`func cblas_dasum(Int32, UnsafePointer<Double>!, Int32) -> Double`

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

`func cblas_dnrm2(Int32, UnsafePointer<Double>!, Int32) -> Double`

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

`func cblas_dscal(Int32, Double, UnsafeMutablePointer<Double>!, Int32)`

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

`func cblas_dspmv(CBLAS_ORDER, CBLAS_UPLO, Int32, Double, UnsafePointer<Double>!, UnsafePointer<Double>!, Int32, Double, UnsafeMutablePointer<Double>!, Int32)`

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

`func cblas_dspr(CBLAS_ORDER, CBLAS_UPLO, Int32, Double, UnsafePointer<Double>!, Int32, UnsafeMutablePointer<Double>!)`

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

`func cblas_dsyr(CBLAS_ORDER, CBLAS_UPLO, Int32, Double, UnsafePointer<Double>!, Int32, UnsafeMutablePointer<Double>!, Int32)`

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