Beispiel #1
0
        public static Span256 <T> Replicate <T>(this Span256 <T> src, bool structureOnly = false)
            where T : struct
        {
            Span <T> dst = new T[src.Length];

            if (!structureOnly)
            {
                src.CopyTo(dst);
            }
            return(Z0.Span256 <T> .LoadAligned(dst));
        }