Example #1
0
        public virtual void AssignSubArray(uint[] memorypos, MultiDimArray buffer, uint[] bufferpos, uint[] count)
        {
            MultiDimArray mema = this;
            MultiDimArray memb = buffer;

            MultiDimArray_CalculateCopyIndicesIter iter = MultiDimArray_CalculateCopyIndicesIter.BeginIter(mema.Dims, memorypos, memb.Dims, bufferpos, count);

            uint indexa;
            uint indexb;
            uint len;

            while (iter.Next(out indexa, out indexb, out len))
            {
                Array.Copy(memb.Array_, (long)indexb, mema.Array_, (long)indexa, (long)len);
            }
        }
Example #2
0
 public virtual object PackMultiDimArray(MultiDimArray multiDimArray)
 {
     return(ServiceDef.PackMultiDimArray(multiDimArray));
 }
Example #3
0
 public virtual object PackMultiDimArray(MultiDimArray multiDimArray)
 {
     return(node.PackMultiDimArray(multiDimArray));
 }