Public Member Functions | Private Attributes | List of all members
LogAndSign Class Reference

#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
 

Detailed Description

Return from LogDeterminant function. Members are the log of the absolute value and the sign (+1, -1 or 0)

Definition at line 47 of file newmat.h.

Constructor & Destructor Documentation

LogAndSign::LogAndSign ( )
inline

Definition at line 52 of file newmat.h.

LogAndSign::LogAndSign ( Real  f)

Definition at line 649 of file newmat8.cpp.

Member Function Documentation

void LogAndSign::change_sign ( )
inline

change sign

Definition at line 58 of file newmat.h.

void LogAndSign::ChangeSign ( )
inline

Definition at line 57 of file newmat.h.

Real LogAndSign::log_value ( ) const
inline

log of the absolute value

Definition at line 60 of file newmat.h.

Real LogAndSign::LogValue ( ) const
inline

Definition at line 59 of file newmat.h.

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.

void LogAndSign::PowEq ( int  k)
inline

Definition at line 56 of file newmat.h.

int LogAndSign::Sign ( ) const
inline

Definition at line 61 of file newmat.h.

int LogAndSign::sign ( ) const
inline

sign of the value

Definition at line 62 of file newmat.h.

Real LogAndSign::value ( ) const

the value

Definition at line 641 of file newmat8.cpp.

Real LogAndSign::Value ( ) const
inline

Definition at line 64 of file newmat.h.

Member Data Documentation

Real LogAndSign::log_val
private

Definition at line 49 of file newmat.h.

int LogAndSign::sign_val
private

Definition at line 50 of file newmat.h.


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


kni
Author(s): Martin Günther
autogenerated on Fri Jun 7 2019 22:06:46