Exemple #1
0
 internal f2trans(IVectorBuilder vectorBuilder, Addressing.IAddressingScheme scheme, VectorConstruction rowCmd)
 {
     this.vectorBuilder = vectorBuilder;
     this.scheme        = scheme;
     this.rowCmd        = rowCmd;
     Func = vec => Invoke(vec);
 }
Exemple #2
0
        public static Series <K, V> FromIndexVectorLoader <K, V>(Addressing.IAddressingScheme scheme, IVectorBuilder vectorBuilder, IIndexBuilder indexBuilder, K min, K max, FSharpFunc <Tuple <K, BoundaryBehavior>, FSharpFunc <Tuple <K, BoundaryBehavior>, FSharpAsync <Tuple <IIndex <K>, IVector <V> > > > > loader)
        {
            Ranges.Ranges <K> ranges = Ranges.Ranges <K> .NewRange(new Tuple <Tuple <K, BoundaryBehavior>, Tuple <K, BoundaryBehavior> >(new Tuple <K, BoundaryBehavior>(min, BoundaryBehavior.get_Inclusive()), new Tuple <K, BoundaryBehavior>(max, BoundaryBehavior.get_Inclusive())));

            DelayedSource <K, V> source = new DelayedSource <K, V>(scheme, min, max, ranges, indexBuilder, vectorBuilder, (FSharpFunc <Tuple <Tuple <K, BoundaryBehavior>, Tuple <K, BoundaryBehavior> >[], FSharpAsync <Tuple <IIndex <K>, IVector <V> > >[]>) new DelayedSeries.source <K, V>(loader));

            return(new Series <K, V>((IIndex <K>) new DelayedIndex <K, V>(source), (IVector <V>) new DelayedVector <K, V>(source), vectorBuilder, (IIndexBuilder) new DelayedIndexBuilder()));
        }
Exemple #3
0
 public static Series <K, V> FromIndexVectorLoader <K, V>(Addressing.IAddressingScheme scheme, IVectorBuilder vectorBuilder, IIndexBuilder indexBuilder, K min, K max, Func <K, BoundaryBehavior, K, BoundaryBehavior, Task <Tuple <IIndex <K>, IVector <V> > > > loader)
 {
     return(DelayedSeries.FromIndexVectorLoader <K, V>(scheme, vectorBuilder, indexBuilder, min, max, (FSharpFunc <Tuple <K, BoundaryBehavior>, FSharpFunc <Tuple <K, BoundaryBehavior>, FSharpAsync <Tuple <IIndex <K>, IVector <V> > > > >) new DelayedSeries.FromIndexVectorLoader <K, V>(loader)));
 }