blob: 976e65062de1ed2d76e09eb01b3f8c5f71b80b62 (
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
|
// File math_Crout.lxx
#include <StdFail_NotDone.hxx>
inline Standard_Boolean math_Crout::IsDone() const { return Done; }
inline Standard_OStream& operator<< (Standard_OStream& o,
const math_Crout& C)
{
C.Dump(o);
return o;
}
inline Standard_Real math_Crout::Determinant() const {
StdFail_NotDone_Raise_if(!Done, " ");
return Det;
}
inline const math_Matrix& math_Crout::Inverse() const {
StdFail_NotDone_Raise_if(!Done, " ");
return InvA;
}
inline void math_Crout::Invert(math_Matrix& Inv) const {
StdFail_NotDone_Raise_if(!Done, " ");
Inv = InvA;
}
|