You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
variterator=newNDOffsetIncrementor(Shape.dimensions,Shape.strides);//we do not copy the dimensions because there is not risk for the iterator's shape to change.
238
+
variterator=newNDOffsetIncrementor(Shape);//we do not copy the dimensions because there is not risk for the iterator's shape to change.
var iterator =newNDOffsetIncrementorAutoresetting(Shape.dimensions,Shape.strides);//we do not copy the dimensions because there is not risk for the iterator's shape to change.
359
+
var iterator =newNDOffsetIncrementorAutoresetting(Shape);//we do not copy the dimensions because there is not risk for the iterator's shape to change.
Copy file name to clipboardExpand all lines: src/NumSharp.Core/Backends/Iterators/NDIterator.template.cs
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -128,7 +128,7 @@ protected void setDefaults___1__() //__1__ is the input type
128
128
129
129
caseIteratorType.Matrix:
130
130
caseIteratorType.Tensor:
131
-
variterator=newNDOffsetIncrementor(Shape.dimensions,Shape.strides);//we do not copy the dimensions because there is not risk for the iterator's shape to change.
131
+
variterator=newNDOffsetIncrementor(Shape);//we do not copy the dimensions because there is not risk for the iterator's shape to change.
var iterator =newNDOffsetIncrementorAutoresetting(Shape.dimensions,Shape.strides);//we do not copy the dimensions because there is not risk for the iterator's shape to change.
244
+
var iterator =newNDOffsetIncrementorAutoresetting(Shape);//we do not copy the dimensions because there is not risk for the iterator's shape to change.
@@ -127,7 +127,7 @@ protected void setDefaults_Boolean() //Boolean is the input type
127
127
128
128
caseIteratorType.Matrix:
129
129
caseIteratorType.Tensor:
130
-
variterator=newNDOffsetIncrementor(Shape.dimensions,Shape.strides);//we do not copy the dimensions because there is not risk for the iterator's shape to change.
130
+
variterator=newNDOffsetIncrementor(Shape);//we do not copy the dimensions because there is not risk for the iterator's shape to change.
var iterator =newNDOffsetIncrementorAutoresetting(Shape.dimensions,Shape.strides);//we do not copy the dimensions because there is not risk for the iterator's shape to change.
243
+
var iterator =newNDOffsetIncrementorAutoresetting(Shape);//we do not copy the dimensions because there is not risk for the iterator's shape to change.
@@ -127,7 +127,7 @@ protected void setDefaults_Byte() //Byte is the input type
127
127
128
128
caseIteratorType.Matrix:
129
129
caseIteratorType.Tensor:
130
-
variterator=newNDOffsetIncrementor(Shape.dimensions,Shape.strides);//we do not copy the dimensions because there is not risk for the iterator's shape to change.
130
+
variterator=newNDOffsetIncrementor(Shape);//we do not copy the dimensions because there is not risk for the iterator's shape to change.
var iterator =newNDOffsetIncrementorAutoresetting(Shape.dimensions,Shape.strides);//we do not copy the dimensions because there is not risk for the iterator's shape to change.
243
+
var iterator =newNDOffsetIncrementorAutoresetting(Shape);//we do not copy the dimensions because there is not risk for the iterator's shape to change.
@@ -127,7 +127,7 @@ protected void setDefaults_Char() //Char is the input type
127
127
128
128
caseIteratorType.Matrix:
129
129
caseIteratorType.Tensor:
130
-
variterator=newNDOffsetIncrementor(Shape.dimensions,Shape.strides);//we do not copy the dimensions because there is not risk for the iterator's shape to change.
130
+
variterator=newNDOffsetIncrementor(Shape);//we do not copy the dimensions because there is not risk for the iterator's shape to change.
var iterator =newNDOffsetIncrementorAutoresetting(Shape.dimensions,Shape.strides);//we do not copy the dimensions because there is not risk for the iterator's shape to change.
243
+
var iterator =newNDOffsetIncrementorAutoresetting(Shape);//we do not copy the dimensions because there is not risk for the iterator's shape to change.
@@ -127,7 +127,7 @@ protected void setDefaults_Decimal() //Decimal is the input type
127
127
128
128
caseIteratorType.Matrix:
129
129
caseIteratorType.Tensor:
130
-
variterator=newNDOffsetIncrementor(Shape.dimensions,Shape.strides);//we do not copy the dimensions because there is not risk for the iterator's shape to change.
130
+
variterator=newNDOffsetIncrementor(Shape);//we do not copy the dimensions because there is not risk for the iterator's shape to change.
var iterator =newNDOffsetIncrementorAutoresetting(Shape.dimensions,Shape.strides);//we do not copy the dimensions because there is not risk for the iterator's shape to change.
243
+
var iterator =newNDOffsetIncrementorAutoresetting(Shape);//we do not copy the dimensions because there is not risk for the iterator's shape to change.
@@ -127,7 +127,7 @@ protected void setDefaults_Double() //Double is the input type
127
127
128
128
caseIteratorType.Matrix:
129
129
caseIteratorType.Tensor:
130
-
variterator=newNDOffsetIncrementor(Shape.dimensions,Shape.strides);//we do not copy the dimensions because there is not risk for the iterator's shape to change.
130
+
variterator=newNDOffsetIncrementor(Shape);//we do not copy the dimensions because there is not risk for the iterator's shape to change.
var iterator =newNDOffsetIncrementorAutoresetting(Shape.dimensions,Shape.strides);//we do not copy the dimensions because there is not risk for the iterator's shape to change.
243
+
var iterator =newNDOffsetIncrementorAutoresetting(Shape);//we do not copy the dimensions because there is not risk for the iterator's shape to change.
@@ -127,7 +127,7 @@ protected void setDefaults_Int16() //Int16 is the input type
127
127
128
128
caseIteratorType.Matrix:
129
129
caseIteratorType.Tensor:
130
-
variterator=newNDOffsetIncrementor(Shape.dimensions,Shape.strides);//we do not copy the dimensions because there is not risk for the iterator's shape to change.
130
+
variterator=newNDOffsetIncrementor(Shape);//we do not copy the dimensions because there is not risk for the iterator's shape to change.
var iterator =newNDOffsetIncrementorAutoresetting(Shape.dimensions,Shape.strides);//we do not copy the dimensions because there is not risk for the iterator's shape to change.
243
+
var iterator =newNDOffsetIncrementorAutoresetting(Shape);//we do not copy the dimensions because there is not risk for the iterator's shape to change.
@@ -127,7 +127,7 @@ protected void setDefaults_Int32() //Int32 is the input type
127
127
128
128
caseIteratorType.Matrix:
129
129
caseIteratorType.Tensor:
130
-
variterator=newNDOffsetIncrementor(Shape.dimensions,Shape.strides);//we do not copy the dimensions because there is not risk for the iterator's shape to change.
130
+
variterator=newNDOffsetIncrementor(Shape);//we do not copy the dimensions because there is not risk for the iterator's shape to change.
var iterator =newNDOffsetIncrementorAutoresetting(Shape.dimensions,Shape.strides);//we do not copy the dimensions because there is not risk for the iterator's shape to change.
243
+
var iterator =newNDOffsetIncrementorAutoresetting(Shape);//we do not copy the dimensions because there is not risk for the iterator's shape to change.
@@ -127,7 +127,7 @@ protected void setDefaults_Int64() //Int64 is the input type
127
127
128
128
caseIteratorType.Matrix:
129
129
caseIteratorType.Tensor:
130
-
variterator=newNDOffsetIncrementor(Shape.dimensions,Shape.strides);//we do not copy the dimensions because there is not risk for the iterator's shape to change.
130
+
variterator=newNDOffsetIncrementor(Shape);//we do not copy the dimensions because there is not risk for the iterator's shape to change.
var iterator =newNDOffsetIncrementorAutoresetting(Shape.dimensions,Shape.strides);//we do not copy the dimensions because there is not risk for the iterator's shape to change.
243
+
var iterator =newNDOffsetIncrementorAutoresetting(Shape);//we do not copy the dimensions because there is not risk for the iterator's shape to change.
0 commit comments