#include "NumType.h"
#include "misc.h"
#include "PCSet.h"
Go to the source code of this file.
|
PCSet * | createPCSet (const int order, const int dim) |
|
| PC_BINARY_OP (operator+,+=) |
|
| PC_BINARY_OP (operator-,-=) |
|
| PC_BINARY_OP (operator*,*=) |
|
| PC_BINARY_OP (operator/,/=) |
|
template<int ORDER, int DIM> |
PC< ORDER, DIM > | operator+ (const PC< ORDER, DIM > &a) |
|
template<int ORDER, int DIM> |
PC< ORDER, DIM > | operator- (const PC< ORDER, DIM > &a) |
|
template<int ORDER, int DIM> |
PC< ORDER, DIM > | fabs (const PC< ORDER, DIM > &a) |
|
template<int ORDER, int DIM> |
ostream & | operator<< (ostream &os, const PC< ORDER, DIM > &a) |
|
template<int ORDER, int DIM> |
PC< ORDER, DIM > | sqrt (const PC< ORDER, DIM > &a) |
|
template<int ORDER, int DIM> |
double | stdDev (const PC< ORDER, DIM > &a) |
|
#define PC_BINARY_OP |
( |
|
opname, |
|
|
|
_op_ |
|
) |
| |
Value:template<int ORDER, int DIM> \
{ \
} \
template<int ORDER, int DIM> \
{ \
} \
template<int ORDER, int DIM> \
{ \
} \
Definition at line 303 of file PC.h.
#define PC_RELATIONAL_OPS |
( |
|
opname, |
|
|
|
_op_ |
|
) |
| |
Value:bool opname(
const PC& o)
const \
{ \
return (_data[0] _op_ o._data[0]); \
} \
bool opname(const double& o) const \
{ \
return (_data[0] _op_ o); \
}
Definition at line 191 of file PC.h.
PCSet* createPCSet |
( |
const int |
order, |
|
|
const int |
dim |
|
) |
| |
Definition at line 9 of file PC.cpp.
11 PCSet *pc =
new PCSet(order,dim,
"HG");
13 cout <<
"The number of PC terms in an expansion is "
14 << pc->GetNumberPCTerms() << endl;
17 pc->SetTaylorTolerance(1.e-15);
template<int ORDER, int DIM>
PC<ORDER,DIM> fabs |
( |
const PC< ORDER, DIM > & |
a | ) |
|
template<int ORDER, int DIM>
PC<ORDER,DIM> operator+ |
( |
const PC< ORDER, DIM > & |
a | ) |
|
Definition at line 326 of file PC.h.
template<int ORDER, int DIM>
PC<ORDER,DIM> operator- |
( |
const PC< ORDER, DIM > & |
a | ) |
|
Definition at line 332 of file PC.h.
template<int ORDER, int DIM>
ostream& operator<< |
( |
ostream & |
os, |
|
|
const PC< ORDER, DIM > & |
a |
|
) |
| |
|
inline |
PC_BINARY_OP |
( |
operator+ |
, |
|
|
+ |
|
|
) |
| |
PC_BINARY_OP |
( |
operator- |
, |
|
|
- |
|
|
) |
| |
PC_BINARY_OP |
( |
operator* |
, |
|
|
* |
|
|
) |
| |
PC_BINARY_OP |
( |
operator/ |
, |
|
|
/ |
|
|
) |
| |
template<int ORDER, int DIM>
PC<ORDER,DIM> sqrt |
( |
const PC< ORDER, DIM > & |
a | ) |
|
template<int ORDER, int DIM>
double stdDev |
( |
const PC< ORDER, DIM > & |
a | ) |
|