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>
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 | |
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. More... | |
template<typename OutputStream > | |
OutputStream & | ecl::operator<< (OutputStream &ostream, const PascalsTriangle< 3 > &triangle) |
Insertion operator for streaming output from pascal's triangle of degree 3. More... | |
template<typename OutputStream > | |
OutputStream & | ecl::operator<< (OutputStream &ostream, const PascalsTriangle< 5 > &triangle) |
Insertion operator for streaming output from pascal's triangle of degree 5. More... | |
Templatised specialisations for pascal's triangle.
Definition in file pascals_triangle.hpp.