# math_TrigonometricEquationFunction Class Reference

This is function, which corresponds trigonometric equation a*Cos(x)*Cos(x) + 2*b*Cos(x)*Sin(x) + c*Cos(x) + d*Sin(x) + e = 0 See class math_TrigonometricFunctionRoots. More...

`#include <math_TrigonometricEquationFunction.hxx>`

Inheritance diagram for math_TrigonometricEquationFunction:
[legend]

## Public Member Functions

math_TrigonometricEquationFunction (const Standard_Real A, const Standard_Real B, const Standard_Real C, const Standard_Real D, const Standard_Real E)

Standard_Boolean Value (const Standard_Real X, Standard_Real &F)
Computes the value <F>of the function for the variable <X>. Returns True if the calculation were successfully done, False otherwise. More...

Standard_Boolean Derivative (const Standard_Real X, Standard_Real &D)
Computes the derivative <D> of the function for the variable <X>. Returns True if the calculation were successfully done, False otherwise. More...

Standard_Boolean Values (const Standard_Real X, Standard_Real &F, Standard_Real &D)
Computes the value <F> and the derivative <D> of the function for the variable <X>. Returns True if the calculation were successfully done, False otherwise. More...

Public Member Functions inherited from math_FunctionWithDerivative
virtual ~math_FunctionWithDerivative ()

Public Member Functions inherited from math_Function
virtual ~math_Function ()
Virtual destructor, for safe inheritance. More...

virtual Standard_Integer GetStateNumber ()
returns the state of the function corresponding to the latest call of any methods associated with the function. This function is called by each of the algorithms described later which defined the function Integer Algorithm::StateNumber(). The algorithm has the responsibility to call this function when it has found a solution (i.e. a root or a minimum) and has to maintain the association between the solution found and this StateNumber. Byu default, this method returns 0 (which means for the algorithm: no state has been saved). It is the responsibility of the programmer to decide if he needs to save the current state of the function and to return an Integer that allows retrieval of the state. More...

## Detailed Description

This is function, which corresponds trigonometric equation a*Cos(x)*Cos(x) + 2*b*Cos(x)*Sin(x) + c*Cos(x) + d*Sin(x) + e = 0 See class math_TrigonometricFunctionRoots.

## ◆ math_TrigonometricEquationFunction()

 math_TrigonometricEquationFunction::math_TrigonometricEquationFunction ( const Standard_Real A, const Standard_Real B, const Standard_Real C, const Standard_Real D, const Standard_Real E )
inline

## ◆ Derivative()

 Standard_Boolean math_TrigonometricEquationFunction::Derivative ( const Standard_Real X, Standard_Real & D )
inlinevirtual

Computes the derivative <D> of the function for the variable <X>. Returns True if the calculation were successfully done, False otherwise.

Implements math_FunctionWithDerivative.

## ◆ Value()

 Standard_Boolean math_TrigonometricEquationFunction::Value ( const Standard_Real X, Standard_Real & F )
inlinevirtual

Computes the value <F>of the function for the variable <X>. Returns True if the calculation were successfully done, False otherwise.

Implements math_FunctionWithDerivative.

## ◆ Values()

 Standard_Boolean math_TrigonometricEquationFunction::Values ( const Standard_Real X, Standard_Real & F, Standard_Real & D )
inlinevirtual

Computes the value <F> and the derivative <D> of the function for the variable <X>. Returns True if the calculation were successfully done, False otherwise.

Implements math_FunctionWithDerivative.

The documentation for this class was generated from the following file: