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§
Source§impl Drop for IntegrationFixedWorkspace
impl Drop for IntegrationFixedWorkspace
Auto Trait Implementations§
impl !Send for IntegrationFixedWorkspace
impl !Sync for IntegrationFixedWorkspace
impl Freeze for IntegrationFixedWorkspace
impl RefUnwindSafe for IntegrationFixedWorkspace
impl Unpin for IntegrationFixedWorkspace
impl UnsafeUnpin 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