Пример #1
0
        internal object Get(npy_intp index)
        {
            VoidPtr pos = NpyCoreApi.IterGoto1D(this, index);

            if (pos == null)
            {
                NpyCoreApi.CheckError();
            }
            return(arr.GetItem(index));
        }
Пример #2
0
        internal void SingleAssign(npy_intp index, object value)
        {
            VoidPtr pos = NpyCoreApi.IterGoto1D(this, index);

            if (pos == null)
            {
                NpyCoreApi.CheckError();
            }
            arr.SetItem(value, index);
        }