Struct pineappl::import_only_subgrid::ImportOnlySubgridV2
source · [−]pub struct ImportOnlySubgridV2 { /* private fields */ }
Expand description
TODO
Implementations
Trait Implementations
sourceimpl Clone for ImportOnlySubgridV2
impl Clone for ImportOnlySubgridV2
sourcefn clone(&self) -> ImportOnlySubgridV2
fn clone(&self) -> ImportOnlySubgridV2
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl<'de> Deserialize<'de> for ImportOnlySubgridV2
impl<'de> Deserialize<'de> for ImportOnlySubgridV2
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl From<&LagrangeSubgridV2> for ImportOnlySubgridV2
impl From<&LagrangeSubgridV2> for ImportOnlySubgridV2
sourcefn from(subgrid: &LagrangeSubgridV2) -> Self
fn from(subgrid: &LagrangeSubgridV2) -> Self
Converts to this type from the input type.
sourceimpl From<ImportOnlySubgridV2> for SubgridEnum
impl From<ImportOnlySubgridV2> for SubgridEnum
sourcefn from(v: ImportOnlySubgridV2) -> SubgridEnum
fn from(v: ImportOnlySubgridV2) -> SubgridEnum
Converts to this type from the input type.
sourceimpl Serialize for ImportOnlySubgridV2
impl Serialize for ImportOnlySubgridV2
sourceimpl Subgrid for ImportOnlySubgridV2
impl Subgrid for ImportOnlySubgridV2
sourcefn convolute(
&self,
_: &[f64],
_: &[f64],
_: &[Mu2],
lumi: &mut dyn FnMut(usize, usize, usize) -> f64
) -> f64
fn convolute(
&self,
_: &[f64],
_: &[f64],
_: &[Mu2],
lumi: &mut dyn FnMut(usize, usize, usize) -> f64
) -> f64
Convolute the subgrid with a luminosity function, which takes indices as arguments that
correspond to the entries given in the slices
x1
, x2
and mu2
. Read moresourcefn fill(&mut self, _: &Ntuple<f64>)
fn fill(&mut self, _: &Ntuple<f64>)
Fills the subgrid with
weight
for the parton momentum fractions x1
and x2
, and the
scale q2
. Filling is currently only support where both renormalization and factorization
scale have the same value. Read moresourcefn x1_grid(&self) -> Cow<'_, [f64]>
fn x1_grid(&self) -> Cow<'_, [f64]>
Return a slice of values of
x1
. If the subgrid does not use a grid, this method should
return an empty slice. Read moresourcefn x2_grid(&self) -> Cow<'_, [f64]>
fn x2_grid(&self) -> Cow<'_, [f64]>
Return a slice of values of
x2
. If the subgrid does not use a grid, this method should
return an empty slice. Read moresourcefn merge(&mut self, other: &mut SubgridEnum, transpose: bool)
fn merge(&mut self, other: &mut SubgridEnum, transpose: bool)
Merges
other
into this subgrid.sourcefn symmetrize(&mut self)
fn symmetrize(&mut self)
Assumes that the initial states for this grid are the same and uses this to optimize the
grid by getting rid of almost half of the entries. Read more
sourcefn clone_empty(&self) -> SubgridEnum
fn clone_empty(&self) -> SubgridEnum
Returns an empty copy of the current subgrid.
sourcefn iter(&self) -> SubgridIter<'_>
fn iter(&self) -> SubgridIter<'_>
Return an iterator over all non-zero elements of the subgrid.
sourceimpl TryInto<ImportOnlySubgridV2> for SubgridEnum
impl TryInto<ImportOnlySubgridV2> for SubgridEnum
sourcefn try_into(
self
) -> Result<ImportOnlySubgridV2, <Self as TryInto<ImportOnlySubgridV2>>::Error>
fn try_into(
self
) -> Result<ImportOnlySubgridV2, <Self as TryInto<ImportOnlySubgridV2>>::Error>
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for ImportOnlySubgridV2
impl Send for ImportOnlySubgridV2
impl Sync for ImportOnlySubgridV2
impl Unpin for ImportOnlySubgridV2
impl UnwindSafe for ImportOnlySubgridV2
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more