pub struct DensityGrid {
pub points: Vec<f64>,
pub weights: Vec<f64>,
pub values: Vec<f64>,
}Expand description
Density grid used for recursive convolution across interim analyses.
Fields§
§points: Vec<f64>Simpson grid points.
weights: Vec<f64>Simpson weights associated with each point.
values: Vec<f64>Weighted density values used for numerical integration.
Trait Implementations§
Source§impl Clone for DensityGrid
impl Clone for DensityGrid
Source§fn clone(&self) -> DensityGrid
fn clone(&self) -> DensityGrid
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DensityGrid
impl Debug for DensityGrid
Source§impl PartialEq for DensityGrid
impl PartialEq for DensityGrid
impl StructuralPartialEq for DensityGrid
Auto Trait Implementations§
impl Freeze for DensityGrid
impl RefUnwindSafe for DensityGrid
impl Send for DensityGrid
impl Sync for DensityGrid
impl Unpin for DensityGrid
impl UnwindSafe for DensityGrid
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more