Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members  

ginverse1.cpp File Reference

#include <iostream>
#include <cmath>
#include <algorithm>
#include "exception.h"
#include "bg.h"

Go to the source code of this file.

Namespaces

namespace  matvec

Defines

#define PYTHAG(a, b)
#define MAX(a, b)
#define SIGN(a, b)   ((b) < 0.0 ? -std::fabs(a): std::fabs(a))


Define Documentation

#define MAX a,
 
 

Value:

(maxarg1 = (a), maxarg2 = (b), (maxarg1) > (maxarg2) ? \
(maxarg1) : (maxarg2))

Definition at line 447 of file ginverse1.cpp.

Referenced by matvec::mnbrak(), and matvec::svdcmp().

#define PYTHAG a,
 
 

Value:

((at = std::fabs(a)) > (bt = std::fabs(b)) ? \
(ct = bt/at, at*std::sqrt(1.0+ct*ct)): (bt ? (ct = at/bt, bt*std::sqrt(1.0+ct*ct)): 0.0))

Definition at line 443 of file ginverse1.cpp.

Referenced by matvec::svdcmp().

#define SIGN a,
     ((b) < 0.0 ? -std::fabs(a): std::fabs(a))
 

Definition at line 450 of file ginverse1.cpp.

Referenced by matvec::brent(), matvec::mnbrak(), matvec::svdcmp(), and matvec::tqli().


Generated on Thu Jun 16 17:14:10 2005 for Matvec by doxygen1.2.16