Function Mechatronix::minCubic2p¶
Defined in File Mechatronix.hh
Function Documentation¶
-
real_type
Mechatronix
::
minCubic2p
(real_type a, real_type fa, real_type Dfa, real_type b, real_type fb, real_type Dfb)¶
-
Find the minimum of a cubic passing by 2 point and initial and initial tangent.
The minimum is searched in the interval
\[ [a,b] \].- Parameters
-
a – the value \( a \)
fa – the value \( f(a) \)
Dfa – the value \( f'(a) \)
b – the value \( b \)
fb – the value \( f(b) \)
Dfb – the value \( f'(b) \)
- Returns
-
the minimum found