Scalar.h File Reference

This is a user-includable header which includes everything needed to make use of SimMatrix Scalar code. More...

#include "SimTKcommon/internal/common.h"
#include "SimTKcommon/Constants.h"
#include "SimTKcommon/internal/Exception.h"
#include "SimTKcommon/internal/ExceptionMacros.h"
#include "SimTKcommon/internal/String.h"
#include "SimTKcommon/internal/conjugate.h"
#include "SimTKcommon/internal/CompositeNumericalTypes.h"
#include "SimTKcommon/internal/NTraits.h"
#include "SimTKcommon/internal/negator.h"
#include <complex>
#include <cmath>
#include <climits>

Go to the source code of this file.

Namespaces

namespace  SimTK
 

This is the top-level SimTK namespace into which all SimTK names are placed to avoid collision with other symbols.


Typedefs

typedef conjugate< Real > Conjugate

Functions

bool atMostOneBitIsSet (unsigned char v)
bool atMostOneBitIsSet (unsigned short v)
bool atMostOneBitIsSet (unsigned int v)
bool atMostOneBitIsSet (unsigned long v)
bool atMostOneBitIsSet (unsigned long long v)
bool atMostOneBitIsSet (signed char v)
bool atMostOneBitIsSet (char v)
bool atMostOneBitIsSet (short v)
bool atMostOneBitIsSet (int v)
bool atMostOneBitIsSet (long v)
bool atMostOneBitIsSet (long long v)
bool exactlyOneBitIsSet (unsigned char v)
bool exactlyOneBitIsSet (unsigned short v)
bool exactlyOneBitIsSet (unsigned int v)
bool exactlyOneBitIsSet (unsigned long v)
bool exactlyOneBitIsSet (unsigned long long v)
bool exactlyOneBitIsSet (signed char v)
bool exactlyOneBitIsSet (char v)
bool exactlyOneBitIsSet (short v)
bool exactlyOneBitIsSet (int v)
bool exactlyOneBitIsSet (long v)
bool exactlyOneBitIsSet (long long v)
bool signBit (unsigned char)
bool signBit (unsigned long long)
bool signBit (signed char i)
bool signBit (short i)
bool signBit (int i)
bool signBit (long long i)
bool signBit (long i)
bool signBit (const float &f)
bool signBit (const double &d)
bool signBit (const negator< float > &nf)
bool signBit (const negator< double > &nd)
unsigned int sign (unsigned char u)
unsigned int sign (unsigned short u)
unsigned int sign (unsigned int u)
unsigned int sign (unsigned long u)
unsigned int sign (unsigned long long u)
int sign (signed char i)
int sign (short i)
int sign (int i)
int sign (long i)
int sign (long long i)
int sign (const float &x)
int sign (const double &x)
int sign (const long double &x)
int sign (const negator< float > &x)
int sign (const negator< double > &x)
int sign (const negator< long double > &x)
unsigned char square (unsigned char u)
unsigned short square (unsigned short u)
unsigned int square (unsigned int u)
unsigned long square (unsigned long u)
char square (char c)
signed char square (signed char i)
short square (short i)
int square (int i)
long square (long i)
float square (const float &x)
double square (const double &x)
long double square (const long double &x)
float square (const negator< float > &x)
double square (const negator< double > &x)
long double square (const negator< long double > &x)
template<class P >
std::complex< P > square (const std::complex< P > &x)
template<class P >
std::complex< P > square (const conjugate< P > &x)
template<class P >
std::complex< P > square (const negator< std::complex< P > > &x)
template<class P >
std::complex< P > square (const negator< conjugate< P > > &x)
unsigned char cube (unsigned char u)
unsigned short cube (unsigned short u)
unsigned int cube (unsigned int u)
unsigned long cube (unsigned long u)
char cube (char c)
signed char cube (signed char i)
short cube (short i)
int cube (int i)
long cube (long i)
float cube (const float &x)
double cube (const double &x)
long double cube (const long double &x)
negator< float > cube (const negator< float > &x)
negator< double > cube (const negator< double > &x)
negator< long double > cube (const negator< long double > &x)
template<class P >
std::complex< P > cube (const std::complex< P > &x)
template<class P >
std::complex< P > cube (const negator< std::complex< P > > &x)
template<class P >
std::complex< P > cube (const conjugate< P > &x)
template<class P >
std::complex< P > cube (const negator< conjugate< P > > &x)

Detailed Description

This is a user-includable header which includes everything needed to make use of SimMatrix Scalar code.

More commonly, this will be included from within Matrix code.


Generated by  doxygen 1.6.2