pub struct IntegrationFixedWorkspace { /* private fields */ }Implementations§
Source§impl IntegrationFixedWorkspace
impl IntegrationFixedWorkspace
pub fn new( type_: IntegrationFixedType, n: usize, a: f64, b: f64, alpha: f64, beta: f64, ) -> Option<IntegrationFixedWorkspace>
pub fn n(&self) -> usize
pub fn nodes(&self) -> Option<&[f64]>
pub fn weights(&self) -> Option<&[f64]>
pub fn fixed<F: Fn(f64) -> f64>(&self, f: F) -> Result<f64, Value>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for IntegrationFixedWorkspace
impl RefUnwindSafe for IntegrationFixedWorkspace
impl !Send for IntegrationFixedWorkspace
impl !Sync for IntegrationFixedWorkspace
impl Unpin for IntegrationFixedWorkspace
impl UnwindSafe for IntegrationFixedWorkspace
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