Ejemplo n.º 1
0
 public static BlockVector <T> Load <T>(Span <T> src)
     where T : struct
 => Span256.Load(src);
Ejemplo 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));
Ejemplo 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));
Ejemplo 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);
Ejemplo n.º 5
0
 public static Span256 <byte> From <T>(Span256 <T> src)
     where T : struct
 => Span256.Load(MemoryMarshal.AsBytes(src.Unblocked));
Ejemplo n.º 6
0
 public static Span256 <T> Single <T>(params T[] src)
     where T : struct
 => Span256 <T> .Load(src);