Classes | Namespaces | Functions
pascals_triangle.hpp File Reference

Templatised specialisations for pascal's triangle. More...

#include <ecl/config/macros.hpp>
#include <ecl/containers/array.hpp>
#include <ecl/formatters/common.hpp>
#include <ecl/formatters/number.hpp>
Include dependency graph for pascals_triangle.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  ecl::PascalsTriangle< N >
 Holds the coefficients for pascal's triangle up to row N. More...
class  ecl::PascalsTriangle< 3 >
 Holds the coefficients of pascal's triangle up to n = 3. More...
class  ecl::PascalsTriangle< 5 >
 Holds the coefficients of pascal's triangle up to n = 5. More...

Namespaces

namespace  ecl
 

Embedded control libraries.


Functions

template<typename OutputStream , int PowerN>
OutputStream & ecl::operator<< (OutputStream &ostream, const PascalsTriangle< PowerN > &triangle)
 Streaming output insertion operator for for pascal triangles.
template<typename OutputStream >
OutputStream & ecl::operator<< (OutputStream &ostream, const PascalsTriangle< 3 > &triangle)
 Insertion operator for streaming output from pascal's triangle of degree 3.
template<typename OutputStream >
OutputStream & ecl::operator<< (OutputStream &ostream, const PascalsTriangle< 5 > &triangle)
 Insertion operator for streaming output from pascal's triangle of degree 5.

Detailed Description

Templatised specialisations for pascal's triangle.

Date:
May 2009

Definition in file pascals_triangle.hpp.



ecl_geometry
Author(s): Daniel Stonier (d.stonier@gmail.com)
autogenerated on Thu Jan 2 2014 11:13:11