c++ - How to set UMFPACK's tolerance -


i using umfpack in c++ solve sparse matrix. having trouble finding [umfpack pivot tolerance] parameter set. know how set control parameter?

my current code

umf::symbolic_type<double> symbolic; umf::numeric_type<double> numeric; umf::symbolic(j, symbolic); umf::numeric(j, symbolic, numeric); umf::solve(j, unknowns, knowns, numeric); 

umf::control_type<ublas::compressed_matrix<double>::value_type > mycontrol; mycontrol.ptr[umfpack_sym_pivot_tolerance]=0; mycontrol.ptr[umfpack_pivot_tolerance]=0; 

Comments

Popular posts from this blog

c++ - Is it possible to compile a VST on linux? -

java - Output of Eclipse is rubbish -

jquery - Confused with JSON data and normal data in Django ajax request -