22 #ifndef BOGUS_FISCHER_BURMEISTER_HPP
23 #define BOGUS_FISCHER_BURMEISTER_HPP
25 #include "../SecondOrder.fwd.hpp"
30 template< DenseIndexType Dimension,
typename Scalar >
34 typedef typename Traits::Vector Vector ;
35 typedef typename Traits::Matrix Matrix ;
38 static void compute(
const Scalar mu,
const Vector& x,
const Vector& y, Vector& fb ) ;
42 const Scalar mu,
const Vector& x,
const Vector& y,
43 Vector& fb, Matrix& dFb_dx, Matrix& dFb_dy ) ;
51 template <
bool JacobianAsWell >
53 const Vector& x,
const Vector& y, Vector& fb,
54 Matrix& dFb_dx, Matrix& dFb_dy ) ;
60 template< DenseIndexType Dimension,
typename Scalar,
bool DeSaxceCOV >
67 typedef typename Traits::Vector Vector ;
68 typedef typename Traits::Matrix Matrix ;
75 const Scalar scaling )
76 : m_mu( mu ), m_scaling( scaling ), m_A( A ), m_b( b )
80 void compute(
const Vector& x, Vector& fb )
const ;
82 void computeJacobian(
const Vector& x, Vector& fb, Matrix& dFb_dx )
const ;
85 static void compute(
const Scalar mu,
const Vector& x,
const Vector& y, Vector& fb ) ;
void compute(const Vector &x, Vector &fb) const
Sets .
static void compute(const Scalar mu, const Vector &x, const Vector &y, Vector &fb)
Computation of the FB function on the cone of aperture mu.
void computeJacobian(const Vector &x, Vector &fb, Matrix &dFb_dx) const
Sets and .
FischerBurmeister(const Scalar mu, const Matrix &A, const Vector &b, const Scalar scaling)
Constructs an object modeling the function .
Definition: FischerBurmeister.hpp:71
static void computeJacobian(const Scalar mu, const Vector &x, const Vector &y, Vector &fb, Matrix &dFb_dx, Matrix &dFb_dy)
Computation of the FB function with its jacobian on the cone of aperture mu.
Binary Fischer-Burmeister function and jacobian computation.
Definition: FischerBurmeister.hpp:31
Definition: EigenProblemTraits.hpp:38
Fischer-Burmeister function and jacobian computation, with optional change of variable.
Definition: FischerBurmeister.hpp:61