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

GRBobsUtilities Class Reference

This class provides some utilities for the this program. More...

#include <GRBobsUtilities.h>

List of all members.

Static Public Methods

double result (HepRandomEngine *engine, const double lo, const double hi, const double p)
void sortVector (const long index, const std::vector< double > &in, const std::vector< double > &sorted, std::vector< double > &out)
 Use ordering of "sorted" to sort "out" vector.

template<class T> void getSorter (const std::vector< T > &in, std::vector< long > &sorter)
template<class S, class T> void cumulativeSum (const std::vector< S > &in, std::vector< T > &out)
 Create cumulative sum of the input vector "in".


Detailed Description

This class provides some utilities for the this program.

Author:
Jay Norris jnorris@lheapop.gsfc.nasa.gov , Sandhia Bansal sandhiab@lheapop.gsfc.nasa.gov


Member Function Documentation

template<class T>
void GRBobsUtilities::getSorter const std::vector< T > &    in,
std::vector< long > &    sorter
[inline, static]
 

\breif Return the ordering of vector "in".

double GRBobsUtilities::result HepRandomEngine *    engine,
const double    lo,
const double    hi,
const double    p
[static]
 

\breif Return interpolated value from hi and lo.


The documentation for this class was generated from the following file:
Generated on Mon Jan 27 11:43:33 2003 by doxygen1.2.13.1 written by Dimitri van Heesch, © 1997-2001