Skip to main content

Crate laddu_core

Crate laddu_core 

Source
Expand description

§laddu-core

This is an internal crate used by laddu.

Re-exports§

pub use amplitude::Amplitude;
pub use amplitude::AmplitudeID;
pub use amplitude::AmplitudeSemanticField;
pub use amplitude::AmplitudeSemanticKey;
pub use crate::data::BinnedDataset;
pub use crate::data::Dataset;
pub use crate::data::DatasetMetadata;
pub use crate::data::DatasetReadOptions;
pub use crate::data::Event;
pub use crate::data::EventData;
pub use crate::data::OwnedEvent;
pub use crate::execution::ThreadPoolManager;
pub use crate::expression::CompiledExpression;
pub use crate::expression::CompiledExpressionNode;
pub use crate::expression::Evaluator;
pub use crate::expression::Expression;
pub use crate::kinematics::DecayAngles;
pub use crate::kinematics::FrameAxes;
pub use crate::kinematics::RestFrame;
pub use crate::parameters::Parameter;
pub use crate::parameters::ParameterID;
pub use crate::parameters::ParameterMap;
pub use crate::parameters::Parameters;
pub use crate::quantum::allowed_projections;
pub use crate::quantum::AllowedPartialWave;
pub use crate::quantum::AngularMomentum;
pub use crate::quantum::Channel;
pub use crate::quantum::Charge;
pub use crate::quantum::Frame;
pub use crate::quantum::Isospin;
pub use crate::quantum::OrbitalAngularMomentum;
pub use crate::quantum::Parity;
pub use crate::quantum::PartialWave;
pub use crate::quantum::ParticleProperties;
pub use crate::quantum::Projection;
pub use crate::quantum::Reflectivity;
pub use crate::quantum::RuleSet;
pub use crate::quantum::SelectionRules;
pub use crate::quantum::SpinState;
pub use crate::quantum::Statistics;
pub use crate::reaction::Decay;
pub use crate::reaction::Particle;
pub use crate::reaction::ParticleGraph;
pub use crate::reaction::ParticleSource;
pub use crate::reaction::Production;
pub use crate::reaction::Reaction;
pub use crate::reaction::ReactionTopology;
pub use crate::reaction::ResolvedTwoToTwo;
pub use crate::reaction::TwoToTwoReaction;
pub use crate::resources::Cache;
pub use crate::resources::ComplexMatrixID;
pub use crate::resources::ComplexScalarID;
pub use crate::resources::ComplexVectorID;
pub use crate::resources::MatrixID;
pub use crate::resources::Resources;
pub use crate::resources::ScalarID;
pub use crate::resources::VectorID;
pub use crate::variables::Angles;
pub use crate::variables::CosTheta;
pub use crate::variables::IntoP4Selection;
pub use crate::variables::Mandelstam;
pub use crate::variables::Mass;
pub use crate::variables::P4Selection;
pub use crate::variables::Phi;
pub use crate::variables::PolAngle;
pub use crate::variables::PolMagnitude;
pub use crate::variables::Polarization;
pub use crate::vectors::Vec3;
pub use crate::vectors::Vec4;

Modules§

amplitude
Core amplitude traits, identifiers, and expression-facing compatibility exports. Core amplitude traits, identifiers, and expression-facing compatibility exports.
data
Methods for loading and manipulating event datasets. Methods for loading and manipulating EventData-based data.
execution
Execution-policy and thread-pool coordination helpers. Execution-policy and thread-pool coordination helpers.
expression
Expression trees, compiled diagnostics, and evaluator interfaces. Expression trees, compiled diagnostics, and evaluator interfaces.
f64
Re-exported alias for std::f64 to ease dependent crates transitioning to the 64-bit floating point API. Constants for the f64 double-precision floating point type.
kinematics
Kinematic frame helpers and angle containers. Kinematic frame helpers and angle containers.
math
Special functions and numerical helpers. Special functions and numerical helpers used across amplitudes and variables.
parameters
Parameter handles, identifiers, and assembled parameter storage. Parameter handles, assembled parameter storage, and parameter identifiers.
quantum
Quantum-number helpers and discrete analysis enums. Quantum-number helpers and discrete analysis enums.
reaction
Reaction topology, particles, and decay-node helpers. Reaction topology, particles, and decay-node helpers.
resources
Structures for manipulating the cache and free parameters. Structures for manipulating caches, cache identifiers, and assembled parameters.
traits
Useful traits for all crate structs
variables
Event variables derived from reactions and particle selections. Event variables derived from reactions and particle selections.
vectors
Three- and four-vector types used throughout the library. Three- and four-vector types used throughout the library.

Macros§

parameter
Convenience macro for creating parameters. Usage: parameter!("name") for a free parameter, or parameter!("name", 1.0) for a fixed one.

Enums§

LadduError
The error type used by all laddu internal methods

Constants§

PI
The mathematical constant $\pi$.

Functions§

validate_free_parameter_len
Validate the number of free parameters supplied to a public entrypoint.

Type Aliases§

LadduResult
A Result type alias for LadduErrors.