#include <newmat.h>
Public Member Functions | |
void | change_sign () |
change sign More... | |
void | ChangeSign () |
Real | log_value () const |
log of the absolute value More... | |
LogAndSign () | |
Real | LogValue () const |
void | PowEq (int k) |
int | Sign () const |
int | sign () const |
sign of the value More... | |
Real | Value () const |
LogAndSign (Real) | |
void | operator*= (Real) |
multiply by a real More... | |
void | pow_eq (int k) |
raise to power of k More... | |
Real | value () const |
the value More... | |
Private Attributes | |
Real | log_val |
int | sign_val |
Return from LogDeterminant function. Members are the log of the absolute value and the sign (+1, -1 or 0)
LogAndSign::LogAndSign | ( | Real | f | ) |
Definition at line 649 of file newmat8.cpp.
|
inline |
void LogAndSign::operator*= | ( | Real | x | ) |
multiply by a real
Definition at line 625 of file newmat8.cpp.
void LogAndSign::pow_eq | ( | int | k | ) |
raise to power of k
Definition at line 632 of file newmat8.cpp.
Real LogAndSign::value | ( | ) | const |
the value
Definition at line 641 of file newmat8.cpp.