13 #include "../../include/ecl/geometry/pascals_triangle.hpp" 33 for (
unsigned int i = 0; i < row_index; ++i ) {
40 for (
unsigned int i = 0; i <= row_index; ++i ) {
62 for (
unsigned int i = 0; i < row_index; ++i ) {
69 for (
unsigned int i = 0; i <= row_index; ++i ) {
Embedded control libraries.
Array< int,(N+2) *(N+1)/2 > coefficients
Array< int,(N+2) *(N+1)/2 >::const_iterator const_iterator
Utilise the array's iterator for parsing the triangle.
PascalsTriangle()
Default constructor.
const_iterator end(unsigned int index=0) const
Iterator generator for diagonals of pascals triangle [end].
const_iterator begin(unsigned int index=0) const
Iterator generator for diagonals of pascals triangle [begin].