summaryrefslogtreecommitdiff
path: root/inc/math_BissecNewton.lxx
blob: dbbcc1c82db6a002d8948613c79433c6cd55d71b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
// File math_BissecNewton.lxx

#include <StdFail_NotDone.hxx>

inline Standard_OStream& operator<<(Standard_OStream& o, 
				    const math_BissecNewton& Bi)
{
  Bi.Dump(o);
  return o;
}


inline Standard_Boolean math_BissecNewton::IsDone() const { return Done; }


inline Standard_Real math_BissecNewton::Root() const{
  StdFail_NotDone_Raise_if(!Done, " ");
  return x;
}


inline Standard_Real math_BissecNewton::Derivative() const{
  StdFail_NotDone_Raise_if(!Done, " ");
  return df;
}


inline Standard_Real math_BissecNewton::Value() const{
  StdFail_NotDone_Raise_if(!Done, " ");
  return f;
}