Пример #1
0
        public static void AddScale(float a, AlignedArray src, AlignedArray dst)
        {
            Contracts.Assert(Compat(src));
            Contracts.Assert(Compat(dst));
            Contracts.Assert(src.Size == dst.Size);

            unsafe
            {
                fixed(float *psrc = &src.Items[0])
                fixed(float *pdst = &dst.Items[0])
                Thunk.AddScaleX(a, Ptr(src, psrc), Ptr(dst, pdst), dst.Size);
            }
        }