Example #1
0
 /// <summary>
 /// Efficient multi-dimensional iterator object to iterate over arrays.
 /// </summary>
 public nditer(ValueTuple <ndarray, ndarray, ndarray, ndarray> arr)
 {
     core          = NpyCoreApi.MultiIterFromArrays(new ndarray[] { arr.Item1, arr.Item2, arr.Item3, arr.Item4 });
     creationCount = core.numiter;
 }
Example #2
0
 /// <summary>
 /// Efficient multi-dimensional iterator object to iterate over arrays.
 /// </summary>
 public nditer(ndarray[] arrays)
 {
     core          = NpyCoreApi.MultiIterFromArrays(arrays);
     creationCount = core.numiter;
 }
Example #3
0
 /// <summary>
 /// Efficient multi-dimensional iterator object to iterate over arrays.
 /// </summary>
 public nditer(ndarray a)
 {
     creationCount = 1;
     core          = NpyCoreApi.MultiIterFromArrays(new ndarray[] { a, a });
 }