Skip to content

Commit dbfede1

Browse files
authored
chore: minor clean-up
Signed-off-by: Shabareesh Shetty <[email protected]>
1 parent 487142a commit dbfede1

File tree

1 file changed

+2
-2
lines changed
  • lib/node_modules/@stdlib/blas/base/dtrmv/examples/c

1 file changed

+2
-2
lines changed

lib/node_modules/@stdlib/blas/base/dtrmv/examples/c/example.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,15 +28,15 @@ int main( void ) {
2828
// Specify the number of elements along each dimension of `A`:
2929
const int N = 3;
3030

31-
// Perform the matrix-vector operations `y = α*A*x + β*y`:
31+
// Perform the matrix-vector operations `x = A*x`:
3232
c_dtrmv( CblasRowMajor, CblasUpper, CblasNoTrans, CblasUnit, N, A, N, x, 1 );
3333

3434
// Print the result:
3535
for ( int i = 0; i < N; i++ ) {
3636
printf( "x[ %i ] = %lf\n", i, x[ i ] );
3737
}
3838

39-
// Perform the symmetric rank 2 operation `A = α*x*y^T + α*y*x^T + A`:
39+
// Perform the matrix-vector operations `x = A*x`:
4040
c_dtrmv_ndarray( CblasUpper, CblasNoTrans, CblasUnit, 3, A, 3, 1, 0, x, 1, 0 );
4141

4242
// Print the result:

0 commit comments

Comments
 (0)