Esempio n. 1
0
 public static BlockVector <T> Load <T>(Span <T> src)
     where T : struct
 => Span256.Load(src);
Esempio n. 2
0
 public static BlockVector <N, T> Load <N, T>(N length, params T[] src)
     where N : ITypeNat, new()
     where T : struct
 => BlockVector <N, T> .LoadAligned(Span256.Load <T>(src));
Esempio n. 3
0
 public static BlockVector <N, T> Load <N, T>(Span <T> src, N n = default)
     where N : ITypeNat, new()
     where T : struct
 => BlockVector <N, T> .LoadAligned(Span256.Load(src));
Esempio n. 4
0
 public static BlockMatrix <M, N, T> Load <M, N, T>(Span <T> src, M m = default, N n = default)
     where M : ITypeNat, new()
     where N : ITypeNat, new()
     where T : struct
 => Span256.Load(src);
Esempio n. 5
0
 public static Span256 <byte> From <T>(Span256 <T> src)
     where T : struct
 => Span256.Load(MemoryMarshal.AsBytes(src.Unblocked));
Esempio n. 6
0
 public static Span256 <T> Single <T>(params T[] src)
     where T : struct
 => Span256 <T> .Load(src);