libflame  revision_anchor
Functions
bl1_swapv.c File Reference

(r)

Functions

void bl1_sswapv (int n, float *x, int incx, float *y, int incy)
 
void bl1_dswapv (int n, double *x, int incx, double *y, int incy)
 
void bl1_cswapv (int n, scomplex *x, int incx, scomplex *y, int incy)
 
void bl1_zswapv (int n, dcomplex *x, int incx, dcomplex *y, int incy)
 

Function Documentation

◆ bl1_cswapv()

void bl1_cswapv ( int  n,
scomplex x,
int  incx,
scomplex y,
int  incy 
)
34 {
35  // Return early if possible.
36  if ( bl1_zero_dim1( n ) ) return;
37 
38  bl1_cswap( n,
39  x, incx,
40  y, incy );
41 }
void bl1_cswap(int n, scomplex *x, int incx, scomplex *y, int incy)
Definition: bl1_swap.c:39
int bl1_zero_dim1(int m)
Definition: bl1_is.c:113

References bl1_cswap(), and bl1_zero_dim1().

Referenced by FLA_Apply_pivots_macro_external(), FLA_Sort_bsvd_ext_b_opc(), and FLA_Sort_bsvd_ext_f_opc().

◆ bl1_dswapv()

void bl1_dswapv ( int  n,
double *  x,
int  incx,
double *  y,
int  incy 
)
24 {
25  // Return early if possible.
26  if ( bl1_zero_dim1( n ) ) return;
27 
28  bl1_dswap( n,
29  x, incx,
30  y, incy );
31 }
void bl1_dswap(int n, double *x, int incx, double *y, int incy)
Definition: bl1_swap.c:26

References bl1_dswap(), and bl1_zero_dim1().

Referenced by FLA_Apply_pivots_macro_external(), FLA_Sort_bsvd_ext_b_opd(), FLA_Sort_bsvd_ext_f_opd(), FLA_Sort_evd_b_opd(), FLA_Sort_evd_f_opd(), FLA_Sort_svd_b_opd(), and FLA_Sort_svd_f_opd().

◆ bl1_sswapv()

void bl1_sswapv ( int  n,
float *  x,
int  incx,
float *  y,
int  incy 
)
14 {
15  // Return early if possible.
16  if ( bl1_zero_dim1( n ) ) return;
17 
18  bl1_sswap( n,
19  x, incx,
20  y, incy );
21 }
void bl1_sswap(int n, float *x, int incx, float *y, int incy)
Definition: bl1_swap.c:13

References bl1_sswap(), and bl1_zero_dim1().

Referenced by FLA_Apply_pivots_macro_external(), FLA_Sort_bsvd_ext_b_ops(), and FLA_Sort_bsvd_ext_f_ops().

◆ bl1_zswapv()

void bl1_zswapv ( int  n,
dcomplex x,
int  incx,
dcomplex y,
int  incy 
)
44 {
45  // Return early if possible.
46  if ( bl1_zero_dim1( n ) ) return;
47 
48  bl1_zswap( n,
49  x, incx,
50  y, incy );
51 }
void bl1_zswap(int n, dcomplex *x, int incx, dcomplex *y, int incy)
Definition: bl1_swap.c:52

References bl1_zero_dim1(), and bl1_zswap().

Referenced by FLA_Apply_pivots_macro_external(), FLA_Sort_bsvd_ext_b_opz(), FLA_Sort_bsvd_ext_f_opz(), FLA_Sort_evd_b_opz(), FLA_Sort_evd_f_opz(), FLA_Sort_svd_b_opz(), and FLA_Sort_svd_f_opz().