Skip to main content

Plan

Enum Plan 

Source
pub enum Plan {
    Spectrum(Box<SpectralSum>),
    Lines(Box<LinePlan>),
    Sampled(Box<Sampled>),
    Point {
        written: Box<ClosedForm>,
        nodes: usize,
        width: usize,
    },
    Added(Vec<Plan>),
}
Expand description

The row of FORMAT 9.1 that runs, decided once for the collapse and the count alike.

Variants§

§

Spectrum(Box<SpectralSum>)

§

Lines(Box<LinePlan>)

§

Sampled(Box<Sampled>)

§

Point

Row 4 over the written closed form: every node the truncation leaves, at every instant.

Fields

§written: Box<ClosedForm>
§nodes: usize
§width: usize
§

Added(Vec<Plan>)

A sum whose addends name different rows, each taking its own.

Implementations§

Source§

impl Plan

Source

pub fn flops(&self, len: usize) -> u128

Source

pub fn alias_flops(&self, len: usize) -> u128

Source

pub fn alias_flops_at(&self, len: usize, oversample: usize) -> u128

The multiple a reading names need not be the label’s ALIAS_OVERSAMPLE. Every component is scored, so every component’s reference is paid for.

Source

pub fn rule(&self) -> Rule

Auto Trait Implementations§

§

impl Freeze for Plan

§

impl RefUnwindSafe for Plan

§

impl Send for Plan

§

impl Sync for Plan

§

impl Unpin for Plan

§

impl UnsafeUnpin for Plan

§

impl UnwindSafe for Plan

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = !

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, !>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.