@@ -47,7 +47,7 @@ ssyr( 'row-major', 'upper', 3, 1.0, x, 1, A, 3 );
47
47
The function has the following parameters:
48
48
49
49
- ** order** : storage layout.
50
- - ** uplo** : specifies whether the upper or lower triangular part of the symmetric matrix ` A ` should be referenced .
50
+ - ** uplo** : specifies whether the upper or lower triangular part of the symmetric matrix ` A ` is supplied .
51
51
- ** N** : number of elements along each dimension of ` A ` .
52
52
- ** α** : scalar constant.
53
53
- ** x** : input [ ` Float32Array ` ] [ mdn-float32array ] .
@@ -196,13 +196,13 @@ Performs the symmetric rank 1 operation `A = α*x*x^T + A`.
196
196
float A[] = { 1.0f, 0.0f, 0.0f, 2.0f, 1.0f, 0.0f, 3.0f, 2.0f, 1.0f };
197
197
const float x[ ] = { 1.0f, 2.0f, 3.0f };
198
198
199
- c_ssyr ( CblasColMajor , CblasUpper, 3, 1.0f, x, 1, A, 3 );
199
+ c_ssyr ( CblasRowMajor , CblasUpper, 3, 1.0f, x, 1, A, 3 );
200
200
```
201
201
202
202
The function accepts the following arguments:
203
203
204
204
- **order**: `[in] CBLAS_LAYOUT` storage layout.
205
- - **uplo**: `[in] CBLAS_UPLO` specifies whether the upper or lower triangular part of the symmetric matrix `A` should be referenced .
205
+ - **uplo**: `[in] CBLAS_UPLO` specifies whether the upper or lower triangular part of the symmetric matrix `A` is supplied .
206
206
- **N**: `[in] CBLAS_INT` number of elements along each dimension of `A`.
207
207
- **alpha**: `[in] float` scalar.
208
208
- **X**: `[in] float*` input array.
@@ -229,7 +229,7 @@ c_ssyr_ndarray( CblasUpper, 3, 1.0f, x, 1, 0, A, 3, 1, 0 );
229
229
230
230
The function accepts the following arguments:
231
231
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 .
233
233
- **N**: `[in] CBLAS_INT` number of elements along each dimension of `A`.
234
234
- **alpha**: `[in] float` scalar.
235
235
- **X**: `[in] float*` input array.
@@ -276,7 +276,7 @@ int main( void ) {
276
276
const int N = 3;
277
277
278
278
// Perform the symmetric rank 1 operation `A = α*x*x^T + A`:
279
- c_ssyr( CblasColMajor , CblasUpper, N, 1.0f, x, 1, A, N );
279
+ c_ssyr( CblasRowMajor , CblasUpper, N, 1.0f, x, 1, A, N );
280
280
281
281
// Print the result:
282
282
for ( int i = 0; i < N*N; i++ ) {
0 commit comments