|
Memosa-FVM
0.2
|
#include <PC.h>
Public Types | |
| enum | { N = Factorial<ORDER+DIM>::value/(Factorial<ORDER>::value*Factorial<DIM>::value) } |
| typedef PC | This_T |
| typedef PC | T_Scalar |
| typedef NumTypeTraits< double > ::T_BuiltIn | T_BuiltIn |
| typedef Initializer< double, double * > | PCInitializer |
Public Member Functions | |
| PC () | |
| PC (const double v) | |
| PC (const PC &o) | |
| ~PC () | |
| double & | operator[] (int n) |
| const double & | operator[] (int n) const |
| PCInitializer | operator, (const double &x) |
| PC & | operator= (const PC &o) |
| PC & | operator= (const double &f) |
| PC & | operator+= (const PC &o) |
| PC & | operator-= (const PC &o) |
| PC & | operator*= (const PC &o) |
| PC & | operator/= (const PC &o) |
| PC & | operator+= (const double &o) |
| PC & | operator-= (const double &o) |
| PC & | operator*= (const double &o) |
| PC & | operator/= (const double &o) |
| PC_RELATIONAL_OPS (operator>,>) | |
| PC_RELATIONAL_OPS (operator>=,>=) | |
| PC_RELATIONAL_OPS (operator<,<) | |
| PC_RELATIONAL_OPS (operator<=,<=) | |
| PC_RELATIONAL_OPS (operator==,==) | |
| PC_RELATIONAL_OPS (operator!=,!=) | |
| void | print (ostream &os) const |
| double | stdDev () const |
| PC | fabs () const |
Static Public Member Functions | |
| static string | getTypeName () |
| static PC | getZero () |
| static PC | getUnity () |
| static PC | getNegativeUnity () |
| static double | doubleMeasure (const PC &x) |
| static void | setFloat (PC &t, const int i, const double &val) |
| static double | getFloat (const PC &t, const int i) |
| static void | write (FILE *fp, const PC &x) |
| static int | getDimension () |
| static void | getShape (int *shp) |
| static int | getDataSize () |
| static void | accumulateOneNorm (PC &sum, const PC &v) |
| static void | accumulateDotProduct (PC &sum, const PC &v0, const PC &v1) |
| static void | reduceSum (PC &sum, const PC &x) |
| static void | safeDivide (PC &x, const PC &y) |
| static void | normalize (PC &x, const PC &y) |
| static void | setMax (PC &x, const PC &y) |
Public Attributes | |
| double | _data [N] |
Static Public Attributes | |
| static PCSet * | _pcSet = createPCSet(ORDER,DIM) |
| typedef Initializer<double,double*> PC< ORDER, DIM >::PCInitializer |
| typedef NumTypeTraits<double>::T_BuiltIn PC< ORDER, DIM >::T_BuiltIn |
Definition at line 78 of file PC.h.
References PC< ORDER, DIM >::_data, and PC< ORDER, DIM >::N.
Referenced by PC< ORDER, DIM >::getZero().
|
inlinestatic |
Definition at line 269 of file PC.h.
References PC< ORDER, DIM >::_data.
Referenced by PC< ORDER, DIM >::accumulateOneNorm(), and fabs().
|
inlinestatic |
|
inlinestatic |
Definition at line 260 of file PC.h.
|
inlinestatic |
|
inlinestatic |
Definition at line 143 of file PC.h.
References PC< ORDER, DIM >::_data, PC< ORDER, DIM >::_pcSet, and PC< ORDER, DIM >::N.
Definition at line 177 of file PC.h.
References PC< ORDER, DIM >::_data, and PC< ORDER, DIM >::N.
|
inline |
Definition at line 153 of file PC.h.
References PC< ORDER, DIM >::_data, PC< ORDER, DIM >::_pcSet, and PC< ORDER, DIM >::N.
Definition at line 184 of file PC.h.
References PC< ORDER, DIM >::_data, and PC< ORDER, DIM >::N.
|
inline |
|
inline |
| PC< ORDER, DIM >::PC_RELATIONAL_OPS | ( | operator | ) |
| PC< ORDER, DIM >::PC_RELATIONAL_OPS | ( | operator>= | , |
| >= | |||
| ) |
| PC< ORDER, DIM >::PC_RELATIONAL_OPS | ( | ) |
| PC< ORDER, DIM >::PC_RELATIONAL_OPS | ( | operator<= | , |
| <= | |||
| ) |
| PC< ORDER, DIM >::PC_RELATIONAL_OPS | ( | operator | = = | ) |
| PC< ORDER, DIM >::PC_RELATIONAL_OPS | ( | operator! | , |
| ! | |||
| ) |
|
inline |
Definition at line 210 of file PC.h.
References PC< ORDER, DIM >::_data, and PC< ORDER, DIM >::N.
Referenced by operator<<().
|
inline |
Definition at line 252 of file PC.h.
References PC< ORDER, DIM >::_data, and PC< ORDER, DIM >::_pcSet.
Definition at line 293 of file PC.h.
Referenced by PC< ORDER, DIM >::doubleMeasure(), PC< ORDER, DIM >::fabs(), fabs(), PC< ORDER, DIM >::getFloat(), PC< ORDER, DIM >::getNegativeUnity(), PC< ORDER, DIM >::getUnity(), ArrayScalarTraits< PC< ORDER, DIM > >::limit(), main(), PC< ORDER, DIM >::normalize(), PC< ORDER, DIM >::operator*=(), PC< ORDER, DIM >::operator+=(), PC< ORDER, DIM >::operator,(), PC< ORDER, DIM >::operator-=(), PC< ORDER, DIM >::operator/=(), PC< ORDER, DIM >::operator=(), PC< ORDER, DIM >::operator[](), PC< ORDER, DIM >::PC(), PC< ORDER, DIM >::print(), PC< ORDER, DIM >::safeDivide(), PC< ORDER, DIM >::setFloat(), PC< ORDER, DIM >::setMax(), sqrt(), PC< ORDER, DIM >::stdDev(), and stdDev().
|
static |
Definition at line 299 of file PC.h.
Referenced by PC< ORDER, DIM >::operator*=(), PC< ORDER, DIM >::operator/=(), and PC< ORDER, DIM >::stdDev().