pub struct SetValuedMap {
pub domain: Vec<f64>,
pub values: Vec<Vec<f64>>,
}Expand description
A set-valued map (multifunction) F: X ⇒ Y.
Fields§
§domain: Vec<f64>The domain points.
values: Vec<Vec<f64>>The values (each a subset of Y, represented as a Vec).
Implementations§
Source§impl SetValuedMap
impl SetValuedMap
Sourcepub fn upper_semicontinuous(&self) -> bool
pub fn upper_semicontinuous(&self) -> bool
Returns true if the map appears upper semicontinuous at each domain point.
Sourcepub fn closed_values(&self) -> bool
pub fn closed_values(&self) -> bool
Returns whether all values sets are closed (represented as non-empty).
Auto Trait Implementations§
impl Freeze for SetValuedMap
impl RefUnwindSafe for SetValuedMap
impl Send for SetValuedMap
impl Sync for SetValuedMap
impl Unpin for SetValuedMap
impl UnsafeUnpin for SetValuedMap
impl UnwindSafe for SetValuedMap
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