public RCSeries(RCSlice index, RCSlice values) { if (index.SliceView.Length != values.SliceView.Length) { throw new IndexOutOfRangeException(); } Data = values; IndexIt = index.Iterator; }
public static RCSeries Create <K, V>(int length) where K : unmanaged where V : unmanaged { return(new RCSeries(RCSlice.Create <K>(length), RCSlice.Create <V>(length))); }
public Slice(Native.Handle.RCSlice slice) : base(slice) { }
public static Slice <T> UnsafeMoveFrom(ref Native.Handle.RCSlice handle) { return(MirExtensionMethods.UnsafeMoveFrom <Slice <T>, Mir.Native.Handle.RCSlice>(ref handle)); }
public RCUniversalSlice(RCSlice slice) : this(slice.Length, (IntPtr)1, slice.Iterator) { }