pysolver_view.roots.problems.discrete_integral_equation module#

class pysolver_view.roots.problems.discrete_integral_equation.DiscreteIntegralEquationProblem(n=100)[source]#

Bases: BenchmarkProblem

MINPACK problem 10: a dense cubic integral-equation discretization.

With h=1/(n+1), t[i]=(i+1)*h, and K[i,j]=min(t[i],t[j])*(1-max(t[i],t[j])), f=x+h/2*K@(x+t+1)**3. The standard start is t*(t-1). Every residual depends on every variable. No sparsity is supplied to any solver; the analytic Jacobian is a fully populated n-by-n array.

gradient(x)[source]#

Return the fully dense analytic Jacobian of the discretized cubic integral equation.

residual(x)[source]#

Return the n cubic integral-equation residuals, each depending on every unknown.