GiNaC 1.8.7
Public Member Functions | Public Attributes | List of all members
GiNaC::basic_partition_generator::mpartition2 Struct Reference

#include <utils.h>

Public Member Functions

 mpartition2 (unsigned n_, unsigned m_)
 
bool next_partition ()
 

Public Attributes

std::vector< unsigned > x
 
unsigned n
 
unsigned m
 

Detailed Description

Definition at line 283 of file utils.h.

Constructor & Destructor Documentation

◆ mpartition2()

GiNaC::basic_partition_generator::mpartition2::mpartition2 ( unsigned  n_,
unsigned  m_ 
)
inline

Definition at line 289 of file utils.h.

References k, m, n, and x.

Member Function Documentation

◆ next_partition()

bool GiNaC::basic_partition_generator::mpartition2::next_partition ( )
inline

Definition at line 296 of file utils.h.

References k, m, and x.

Referenced by GiNaC::partition_with_zero_parts_generator::next(), and GiNaC::partition_generator::next().

Member Data Documentation

◆ x

std::vector<unsigned> GiNaC::basic_partition_generator::mpartition2::x

◆ n

unsigned GiNaC::basic_partition_generator::mpartition2::n

Definition at line 287 of file utils.h.

Referenced by mpartition2(), and GiNaC::partition_with_zero_parts_generator::next().

◆ m

unsigned GiNaC::basic_partition_generator::mpartition2::m

The documentation for this struct was generated from the following file:

This page is part of the GiNaC developer's reference. It was generated automatically by doxygen. For an introduction, see the tutorial.