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

/home/coinadmin/Update/COIN/Clp/include/ClpHelperFunctions.hpp File Reference

Go to the source code of this file.

Functions

double maximumAbsElement (const double *region, int size)
 Note (JJF) I have added some operations on arrays even though they may duplicate CoinDenseVector.

void setElements (double *region, int size, double value)
void multiplyAdd (const double *region1, int size, double multiplier1, double *region2, double multiplier2)
double innerProduct (const double *region1, int size, const double *region2)
void getNorms (const double *region, int size, double &norm1, double &norm2)


Function Documentation

double maximumAbsElement const double *    region,
int    size
 

Note (JJF) I have added some operations on arrays even though they may duplicate CoinDenseVector.

I think the use of templates was a mistake as I don't think inline generic code can take as much advantage of parallelism or machine architectures or memory hierarchies.

void setElements double *    region,
int    size,
double    value
 

void multiplyAdd const double *    region1,
int    size,
double    multiplier1,
double *    region2,
double    multiplier2
 

double innerProduct const double *    region1,
int    size,
const double *    region2
 

void getNorms const double *    region,
int    size,
double &    norm1,
double &    norm2
 


Generated on Fri Aug 6 02:01:32 2004 by doxygen1.3-rc2