pub enum Domain<T> {
Interval {
a: T,
b: T,
},
Rectangle {
bounds: Vec<(T, T)>,
},
RealLine,
}Expand description
A domain of integration.
Represents the domain over which functions in L² are defined.
Variants§
Interval
One-dimensional interval [a, b].
Rectangle
Rectangular domain in R^n.
RealLine
The entire real line.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<T> Freeze for Domain<T>where
T: Freeze,
impl<T> RefUnwindSafe for Domain<T>where
T: RefUnwindSafe,
impl<T> Send for Domain<T>where
T: Send,
impl<T> Sync for Domain<T>where
T: Sync,
impl<T> Unpin for Domain<T>where
T: Unpin,
impl<T> UnwindSafe for Domain<T>where
T: UnwindSafe,
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