norms.hpp File Reference

Some simple functors to calculate various norms. More...

`#include <cmath>`

Include dependency graph for norms.hpp:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

## Classes | |

class | ecl::EuclideanNorm |

Functor for euclidean norms. More... | |

## Namespaces | |

namespace | ecl |

Embedded control libraries. | |

## Functions | |

template<typename T > | |

T | ecl::euclidean_norm (const T &x1, const T &x2) |

Function for euclidean norms of dimension 2. | |

template<typename T > | |

T | ecl::euclidean_norm (const T &x1, const T &x2, const T &x3) |

Function for euclidean norms of dimension 3. |

Some simple functors to calculate various norms.

These aren't meant to be all encompassing, rather just a few oft used functions that always seem to crop up. Use eigen for more complicated functionalities.

**Date:**- February 2010

Definition in file norms.hpp.