@@ -196,7 +196,7 @@ Performs the symmetric rank 1 operation `A = α*x*x^T + A` where `α` is a scala
196196float AP[] = { 1.0f, 2.0f, 3.0f, 1.0f, 2.0f, 1.0f };
197197const float x[ ] = { 1.0f, 2.0f, 3.0f };
198198
199- c_sspr ( CblasColMajor , CblasUpper, 3, 1.0f, x, 1, AP );
199+ c_sspr ( CblasRowMajor , CblasUpper, 3, 1.0f, x, 1, AP );
200200```
201201
202202The function accepts the following arguments:
@@ -223,13 +223,13 @@ Performs the symmetric rank 1 operation `A = α*x*x^T + A` where `α` is a scala
223223float AP[] = { 1.0f, 2.0f, 3.0f, 1.0f, 2.0f, 1.0f };
224224const float x[ ] = { 1.0f, 2.0f, 3.0f };
225225
226- c_sspr_ndarray ( CblasColMajor , CblasUpper, 3, 1.0f, x, 1, AP, 1, 0 );
226+ c_sspr_ndarray ( CblasRowMajor , CblasUpper, 3, 1.0f, x, 1, AP, 1, 0 );
227227```
228228
229229The function accepts the following arguments:
230230
231231- **order**: `[in] CBLAS_LAYOUT` storage layout.
232- - **uplo**: `[in] CBLAS_UPLO` specifies whether the upper or lower triangular part of the symmetric matrix `A` should be referenced .
232+ - **uplo**: `[in] CBLAS_UPLO` specifies whether the upper or lower triangular part of the symmetric matrix `A` is supplied .
233233- **N**: `[in] CBLAS_INT` number of elements along each dimension of `A`.
234234- **alpha**: `[in] float` scalar.
235235- **X**: `[in] float*` input vector.
0 commit comments