Beispiel #1
0
 public NDArray()
 {
     // set default shape as 1 dim and 0 elements.
     Shape = new List <int>()
     {
         0
     };
     Data   = new T[] { };
     Random = new NDArrayRandom();
 }
Beispiel #2
0
        public NDArrayRandom Random()
        {
            var rand = new NDArrayRandom();

            return(rand);
        }