pub struct ZipMap {
pub n: usize,
pub operands: Vec<Symbol>,
pub types: Vec<Ty>,
pub term: ZipTerm,
pub ty: Ty,
pub out: Symbol,
}Expand description
A recognized zip map out[t] = f(A₀[t], A₁[t], …) for t < n: one counted loop storing a term of several
arrays into another, every one read at the index it stores at — Black-Scholes over its option columns, any
elementwise map over aligned streams. The term’s type is the output’s element type, Int or Real.
Fields§
§n: usize§operands: Vec<Symbol>The arrays read, in reading order; ZipTerm::Read(k) is the element of operands[k].
types: Vec<Ty>Each operand’s element type.
term: ZipTerm§ty: TyThe term’s type: the element type of out.
out: SymbolTrait Implementations§
impl Eq for ZipMap
impl StructuralPartialEq for ZipMap
Auto Trait Implementations§
impl Freeze for ZipMap
impl RefUnwindSafe for ZipMap
impl Send for ZipMap
impl Sync for ZipMap
impl Unpin for ZipMap
impl UnsafeUnpin for ZipMap
impl UnwindSafe for ZipMap
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Convert
Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can
then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Convert
Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be
further downcast into Rc<ConcreteType> where ConcreteType implements Trait.§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
Convert
&Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s.§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Convert
&mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s.§impl<T> DowncastSync for T
impl<T> DowncastSync for T
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.