SphereCylinderOptimizer Class Reference

#include <ql/math/optimization/spherecylinder.hpp>

List of all members.


Detailed Description

the intersection may be empty!

Public Member Functions

 SphereCylinderOptimizer (Real r, Real s, Real alpha, Real z1, Real z2, Real z3, Real zweight=1.0)
bool isIntersectionNonEmpty () const
void findClosest (Size maxIterations, Real tolerance, Real &y1, Real &y2, Real &y3) const
bool findByProjection (Real &y1, Real &y2, Real &y3) const