Struct rgsl::types::integration::IntegrationFixedWorkspace
source · [−]pub struct IntegrationFixedWorkspace { /* private fields */ }
Implementations
sourceimpl 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) -> (Value, f64)
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for IntegrationFixedWorkspace
impl !Send for IntegrationFixedWorkspace
impl !Sync for IntegrationFixedWorkspace
impl Unpin for IntegrationFixedWorkspace
impl UnwindSafe for IntegrationFixedWorkspace
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more