.. Generated by docs/generate_api_pages.py - do not edit by hand. C++ API ======= Reference for the ``madspace`` C++ classes and free functions, extracted from the header comments, one page per class or function. Phase-space mappings -------------------- Invertible maps between the unit hypercube and physical phase space; each also returns its Jacobian weight. .. toctree:: :maxdepth: 1 cpp/ChiliMapping cpp/ColorOrderedMapping cpp/DiscreteFlow cpp/DiscreteSampler cpp/DoubleT cpp/FastRamboMapping cpp/Flow cpp/Invariant cpp/Luminosity cpp/Mapping cpp/MultiChannelMapping cpp/PhaseSpaceMapping cpp/TPropagatorMapping cpp/ThreeBodyDecay cpp/TwoBodyDecay cpp/TwoToThreeParticleScattering cpp/TwoToTwoParticleScattering cpp/VegasMapping Function generators ------------------- Builders that assemble compute-graph functions for channel weights, energy scales and network outputs. .. toctree:: :maxdepth: 1 cpp/BatchSampler cpp/BufferUnweighter cpp/ChannelWeightNetwork cpp/CustomFunction cpp/Cuts cpp/DifferentialCrossSection cpp/DiscreteHistogram cpp/EnergyScale cpp/FunctionGenerator cpp/GradientClipper cpp/Integrand cpp/IntegrandChannelPart cpp/IntegrandCommonPart cpp/IntegrandConcatenator cpp/IntegrandProbability cpp/MLP cpp/MadnisLoss cpp/MatrixElement cpp/MomentumPreprocessing cpp/MultiChannelFunction cpp/MultiChannelIntegrand cpp/Observable cpp/ObservableHistograms cpp/ObservableValues cpp/PartonDensity cpp/PropagatorChannelWeights cpp/RunningCoupling cpp/SubchannelWeights cpp/Unweighter cpp/VegasHistogram Phase-space building blocks --------------------------- Supporting types shared by the mappings: topologies, cuts, observables and density grids. .. toctree:: :maxdepth: 1 cpp/AlphaSGrid cpp/CustomPdf cpp/Diagram cpp/PdfGrid cpp/Propagator cpp/Topology cpp/initialize_vegas_grid Compute graph ------------- The typed value model and the builder API used to record and compile functions from instructions. .. toctree:: :maxdepth: 1 cpp/BatchSize cpp/Function cpp/FunctionBuilder cpp/Instruction cpp/InstructionCall cpp/Type cpp/Value cpp/batch_float_array cpp/batch_four_vec_array cpp/multichannel_batch_size Driver and runtime ------------------ The high-level driver plus the tensor and device layer it runs on: integration, unweighting, event output and execution. .. toctree:: :maxdepth: 1 cpp/AdamOptimizer cpp/ChannelEventGenerator cpp/Context cpp/DataLayout cpp/DerivedSeed cpp/Device cpp/DiscreteOptimizer cpp/EventBuffer cpp/EventFile cpp/EventGenerator cpp/EventHistogramSpec cpp/EventHistograms cpp/EventRecord cpp/FieldLayout cpp/GeneratorBatchJob cpp/GeneratorConfig cpp/GeneratorStatus cpp/Histogram cpp/LHECompleter cpp/LHEEvent cpp/LHEFileWriter cpp/LHEHeader cpp/LHEMeta cpp/LHEParticle cpp/LHEProcess cpp/LOReweightInfo cpp/Logger cpp/MadnisTraining cpp/MatrixElementApi cpp/MixMaxRandom cpp/MultiMadnisTraining cpp/PackedTensorView cpp/ParticleRecord cpp/PdfGroupInfo cpp/PdfMemberSpec cpp/PrettyBox cpp/ReadyJob cpp/ResultQueue cpp/RunSeedSkip cpp/RunningIntegral cpp/Runtime cpp/Sizes cpp/StatusFile cpp/SubprocessObservables cpp/SubprocessSystArgs cpp/SystematicsCalculator cpp/SystematicsConfig cpp/TarReader cpp/TarWriter cpp/Tensor cpp/TensorView cpp/ThreadPool cpp/ThreadResource cpp/UmamiFunctions cpp/UnalignedRef cpp/Variation cpp/VegasGridOptimizer cpp/available_backends cpp/compute_generation_batch_event_count cpp/cpu_device cpp/cuda_device cpp/default_context cpp/default_cuda_context cpp/default_hip_context cpp/format_progress cpp/format_si_prefix cpp/format_with_error cpp/hip_device cpp/select_combine_channel_index cpp/set_lib_path cpp/set_simd_vector_size Utilities --------- Lower-level helpers and containers. .. toctree:: :maxdepth: 1 cpp/NamedVector cpp/Overloaded