np クラス

np クラス (Numpy 名前空間)

public static class np

継承:Object → np

メソッド

array

@ [GitHub]

public static NDarray array(string[] strings, int? itemsize = null, bool? copy = null, bool? unicode = null, string order = null);
public static NDarray array(IEnumerable<NDarray> arrays, Dtype dtype = null, bool? copy = null, string order = null, bool? subok = null, int? ndmin = null);
public static NDarray array(NDarray[] arrays, Dtype dtype = null, bool? copy = null, string order = null, bool? subok = null, int? ndmin = null);
public static NDarray array(List<NDarray> arrays, Dtype dtype = null, bool? copy = null, string order = null, bool? subok = null, int? ndmin = null);
public static NDarray array(NDarray @object, Dtype dtype = null, bool? copy = null, string order = null, bool? subok = null, int? ndmin = null);

array<T>

@ [GitHub]

public static NDarray<T> array<T>(T[] @object, Dtype dtype = null, bool? copy = null, string order = null, bool? subok = null, int? ndmin = null) where T : struct;
public static NDarray<T> array<T>(T[,] @object, Dtype dtype = null, bool? copy = null, string order = null, bool? subok = null, int? ndmin = null) where T : struct;
public static NDarray<T> array<T>(T[,,] data, Dtype dtype = null, bool? copy = null, string order = null, bool? subok = null, int? ndmin = null) where T : struct;

public static NDarray<T> array<T>(T[,,,] data, Dtype dtype = null, bool? copy = null, string order = null, bool? subok = null, int? ndmin = null) where T : struct;
public static NDarray<T> array<T>(T[,,,,] data, Dtype dtype = null, bool? copy = null, string order = null, bool? subok = null, int? ndmin = null) where T : struct;
public static NDarray<T> array<T>(T[,,,,,] data, Dtype dtype = null, bool? copy = null, string order = null, bool? subok = null, int? ndmin = null) where T : struct;
public static NDarray<T> array<T>(params T[] data) where T : struct;
public static NDarray array<T>(NDarray<T>[] arrays, Dtype dtype = null, bool? copy = null, string order = null, bool? subok = null, int? ndmin = null);
public static NDarray array<T>(IEnumerable<NDarray<T>> arrays, Dtype dtype = null, bool? copy = null, string order = null, bool? subok = null, int? ndmin = null);

load

@ [GitHub]

public static NDarray load(string file, MemMapMode mmap_mode = null, bool? allow_pickle = false, bool? fix_imports = true, string encoding = “ASCII”);

loadtxt

@ [GitHub]

public static NDarray loadtxt(string fname, Dtype dtype = null, string[] comments = null, string delimiter = null, Hashtable converters = null, int? skiprows = 0, int[] usecols = null, bool? unpack = false, int? ndmin = 0, string encoding = “bytes”, int? max_rows = null);

save

@ [GitHub]

public static void save(string file, NDarray arr, bool? allow_pickle = true, bool? fix_imports = true);

savetxt

@ [GitHub]

public static void savetxt(string fname, NDarray X, string[] fmt = null, string delimiter = ” “, string newline = “\n”, string header = “”, string footer = “”, string comments = null, string encoding = null);

savez

@ [GitHub]

public static void savez(string file, NDarray[] args = null, Dictionary<string, NDarray> kwds = null);

savez_compressed

@ [GitHub]

public static void savez_compressed(string file, NDarray[] args = null, Dictionary<string, NDarray> kwds = null);