Geant4 11.4.0
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
G4integerPartition Class Reference

#include <G4FermiIntegerPartition.hh>

Classes

class  Iterator

Public Member Functions

Iterator begin () const
Iterator end () const
 G4integerPartition (std::uint32_t number, std::uint32_t termsCount, std::uint32_t base=1)

Detailed Description

Definition at line 39 of file G4FermiIntegerPartition.hh.

Constructor & Destructor Documentation

◆ G4integerPartition()

G4integerPartition::G4integerPartition ( std::uint32_t number,
std::uint32_t termsCount,
std::uint32_t base = 1 )

Definition at line 33 of file G4FermiIntegerPartition.cc.

35 : number_(number), termsCount_(termsCount), base_(base)
36{}

Member Function Documentation

◆ begin()

G4integerPartition::Iterator G4integerPartition::begin ( ) const

Definition at line 38 of file G4FermiIntegerPartition.cc.

39{
40 return {number_, termsCount_, base_};
41}

◆ end()

G4integerPartition::Iterator G4integerPartition::end ( ) const

Definition at line 43 of file G4FermiIntegerPartition.cc.

44{
45 return {};
46}

The documentation for this class was generated from the following files: