Contents

cblas_dsyr(_:_:_:_:_:_:_:_:)

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

Declaration

func cblas_dsyr(_ ORDER: CBLAS_ORDER, _ UPLO: CBLAS_UPLO, _ N: __LAPACK_int, _ ALPHA: Double, _ X: UnsafePointer<Double>?, _ INCX: __LAPACK_int, _ A: UnsafeMutablePointer<Double>?, _ LDA: __LAPACK_int)

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*x and stores the result in A.

See Also

Double-precision float matrix functions