Skip to content

Commit 75d09e6

Browse files
authored
chore: update variable name
Signed-off-by: Shabareesh Shetty <[email protected]>
1 parent 711ffd3 commit 75d09e6

File tree

1 file changed

+18
-18
lines changed
  • lib/node_modules/@stdlib/blas/base/csrot/src

1 file changed

+18
-18
lines changed

lib/node_modules/@stdlib/blas/base/csrot/src/csrot_f.c

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -26,35 +26,35 @@
2626
* Applies a plane rotation.
2727
*
2828
* @param N number of indexed elements
29-
* @param CX first input array
30-
* @param strideX CX stride length
31-
* @param CY second input array
32-
* @param strideY CY stride length
29+
* @param X first input array
30+
* @param strideX X stride length
31+
* @param Y second input array
32+
* @param strideY Y stride length
3333
* @param c cosine of the angle of rotation
3434
* @param s sine of the angle of rotation
3535
*/
36-
void API_SUFFIX(c_csrot)( const CBLAS_INT N, void *CX, const CBLAS_INT strideX, void *CY, const CBLAS_INT strideY, const float c, const float s ) {
37-
csrot( &N, CX, &strideX, CY, &strideY, &c, &s );
36+
void API_SUFFIX(c_csrot)( const CBLAS_INT N, void *X, const CBLAS_INT strideX, void *Y, const CBLAS_INT strideY, const float c, const float s ) {
37+
csrot( &N, X, &strideX, Y, &strideY, &c, &s );
3838
}
3939

4040
/**
4141
* Applies a plane rotation using alternative indexing semantics.
4242
*
4343
* @param N number of indexed elements
44-
* @param CX first input array
45-
* @param strideX CX stride length
46-
* @param offsetX starting index for CX
47-
* @param CY second input array
48-
* @param strideY CY stride length
49-
* @param offsetY starting index for CY
44+
* @param X first input array
45+
* @param strideX X stride length
46+
* @param offsetX starting index for X
47+
* @param Y second input array
48+
* @param strideY Y stride length
49+
* @param offsetY starting index for Y
5050
* @param c cosine of the angle of rotation
5151
* @param s sine of the angle of rotation
5252
*/
53-
void API_SUFFIX(c_csrot_ndarray)( const CBLAS_INT N, void *CX, const CBLAS_INT strideX, const CBLAS_INT offsetX, void *CY, const CBLAS_INT strideY, const CBLAS_INT offsetY, const float c, const float s ) {
54-
stdlib_complex64_t *cx = (stdlib_complex64_t *)CX;
55-
stdlib_complex64_t *cy = (stdlib_complex64_t *)CY;
53+
void API_SUFFIX(c_csrot_ndarray)( const CBLAS_INT N, void *X, const CBLAS_INT strideX, const CBLAS_INT offsetX, void *Y, const CBLAS_INT strideY, const CBLAS_INT offsetY, const float c, const float s ) {
54+
stdlib_complex64_t *x = (stdlib_complex64_t *)X;
55+
stdlib_complex64_t *y = (stdlib_complex64_t *)Y;
5656

57-
cx += stdlib_strided_min_view_buffer_index( N, strideX, offsetX );
58-
cy += stdlib_strided_min_view_buffer_index( N, strideY, offsetY );
59-
csrot( &N, (void *)cx, &strideX, (void *)cy, &strideY, &c, &s );
57+
x += stdlib_strided_min_view_buffer_index( N, strideX, offsetX );
58+
y += stdlib_strided_min_view_buffer_index( N, strideY, offsetY );
59+
csrot( &N, (void *)x, &strideX, (void *)y, &strideY, &c, &s );
6060
}

0 commit comments

Comments
 (0)