pysolver_view.roots.problems.helical_valley module

pysolver_view.roots.problems.helical_valley module#

class pysolver_view.roots.problems.helical_valley.HelicalValleyProblem[source]#

Bases: BenchmarkProblem

MINPACK problem 5: three equations coupling angle, radius, and height.

f=(10*(z-10*theta), 10*(sqrt(x*x+y*y)-1), z), with the piecewise MINPACK angle branch. Standard start is (-1, 0, 0). The axis x=y=0 is excluded because the Jacobian is undefined there.

gradient(x)[source]#

Return the analytic 3-by-3 Jacobian away from the excluded planar origin.

residual(x)[source]#

Return the three helical-valley equations using the specified piecewise angular branch.