MCPcopy Create free account
hub / github.com/Singular/Singular / solve_all

Method solve_all

kernel/numeric/mpr_numeric.cc:858–879  ·  view source on GitHub ↗

-> void rootArranger::solve_all()

Source from the content-addressed store, hash-verified

856
857//-> void rootArranger::solve_all()
858void rootArranger::solve_all()
859{
860 int i;
861 found_roots= true;
862
863 // find roots of polys given by coeffs in roots
864 rc= roots[0]->getAnzElems();
865 for ( i= 0; i < rc; i++ )
866 if ( !roots[i]->solver( howclean ) )
867 {
868 found_roots= false;
869 return;
870 }
871 // find roots of polys given by coeffs in mu
872 mc= mu[0]->getAnzElems();
873 for ( i= 0; i < mc; i++ )
874 if ( ! mu[i]->solver( howclean ) )
875 {
876 found_roots= false;
877 return;
878 }
879}
880//<-
881
882//-> void rootArranger::arrange()

Callers 1

nuUResSolveFunction · 0.80

Calls 2

getAnzElemsMethod · 0.80
solverMethod · 0.80

Tested by

no test coverage detected