{ } Raw JSON

bundles / scipy 1.17.1 / scipy / optimize / _trustregion / BaseQuadraticSubproblem / get_boundaries_intersections

function

scipy.optimize._trustregion:BaseQuadraticSubproblem.get_boundaries_intersections

source: /scipy/optimize/_trustregion.py :90

Signature

def   get_boundaries_intersections ( self z d trust_radius )

Summary

Solve the scalar quadratic equation ||z + t d|| == trust_radius. This is like a line-sphere intersection. Return the two values of t, sorted from low to high.

Aliases

  • scipy.optimize._trustregion.BaseQuadraticSubproblem.get_boundaries_intersections