libflame  revision_anchor
FLA_Bsvd_sinval_v.h
Go to the documentation of this file.
1 /*
2 
3  Copyright (C) 2014, The University of Texas at Austin
4 
5  This file is part of libflame and is available under the 3-Clause
6  BSD license, which can be found in the LICENSE file at the top-level
7  directory, or at http://opensource.org/licenses/BSD-3-Clause
8 
9 */
10 
11 // --- MAC_Bsvd_sinval_is_converged() ------------------------------------------
12 
13 #define MAC_Bsvd_sinval_is_converged_ops( tol, d1, e1 ) \
14  fabsf( (e1) ) <= fabsf( (tol) * (d1) )
15 
16 #define MAC_Bsvd_sinval_is_converged_opd( tol, d1, e1 ) \
17  fabs( (e1) ) <= fabs( (tol) * (d1) )
18 
19 // --- FLA_Bsvd_sinval_v_opt_var1() --------------------------------------------
20 
23  int n_GH,
24  int n_iter_allowed,
25  float tol,
26  float thresh,
27  scomplex* buff_G, int rs_G, int cs_G,
28  scomplex* buff_H, int rs_H, int cs_H,
29  float* buff_d, int inc_d,
30  float* buff_e, int inc_e,
31  int* n_iter );
33  int n_GH,
34  int n_iter_allowed,
35  double tol,
36  double thresh,
37  dcomplex* buff_G, int rs_G, int cs_G,
38  dcomplex* buff_H, int rs_H, int cs_H,
39  double* buff_d, int inc_d,
40  double* buff_e, int inc_e,
41  int* n_iter );
42 
FLA_Error FLA_Bsvd_sinval_v_opd_var1(int m_A, int n_GH, int n_iter_allowed, double tol, double thresh, dcomplex *buff_G, int rs_G, int cs_G, dcomplex *buff_H, int rs_H, int cs_H, double *buff_d, int inc_d, double *buff_e, int inc_e, int *n_iter)
Definition: FLA_Bsvd_sinval_v_opt_var1.c:194
FLA_Error FLA_Bsvd_sinval_v_opt_var1(FLA_Obj tol, FLA_Obj thresh, FLA_Obj G, FLA_Obj H, FLA_Obj d, FLA_Obj e, FLA_Obj n_iter)
Definition: FLA_Bsvd_sinval_v_opt_var1.c:13
FLA_Error FLA_Bsvd_sinval_v_ops_var1(int m_A, int n_GH, int n_iter_allowed, float tol, float thresh, scomplex *buff_G, int rs_G, int cs_G, scomplex *buff_H, int rs_H, int cs_H, float *buff_d, int inc_d, float *buff_e, int inc_e, int *n_iter)
Definition: FLA_Bsvd_sinval_v_opt_var1.c:96
int FLA_Error
Definition: FLA_type_defs.h:47
Definition: FLA_type_defs.h:159
Definition: blis_type_defs.h:138
Definition: blis_type_defs.h:133