- Main Page
- Modules
- Namespaces
- Classes
- Files
- Related Pages

- File List
- File Members

# /home/coin/SVN-release/Osi-0.98.1/Clp/src/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 |
| ) |  |  |