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
Copy file name to clipboardExpand all lines: src/NumSharp.Core/Creation/NdArray.ReShape.cs
+32-15Lines changed: 32 additions & 15 deletions
Original file line number
Diff line number
Diff line change
@@ -10,29 +10,46 @@ namespace NumSharp
10
10
publicpartialclassNDArray
11
11
{
12
12
/// <summary>
13
-
///
13
+
/// Gives a new shape to an array without changing its data.
14
14
/// </summary>
15
-
/// <param name="shape"></param>
16
-
/// <param name="order">
17
-
/// C: row major
18
-
/// F: column major
19
-
/// </param>
20
-
/// <returns></returns>
21
-
publicNDArrayreshape(Shapeshape,charorder='C')
15
+
/// <param name="newshape">The new shape should be compatible with the original shape. If an integer, then the result will be a 1-D array of that length. One shape dimension can be -1. In this case, the value is inferred from the length of the array and remaining dimensions.</param>
16
+
/// <returns>This will be a new view object if possible; otherwise, it will be a copy. Note there is no guarantee of the memory layout (C- or Fortran- contiguous) of the returned array.</returns>
/// Gives a new shape to an array without changing its data.
32
+
/// </summary>
33
+
/// <param name="newshape">The new shape should be compatible with the original shape. If an integer, then the result will be a 1-D array of that length. One shape dimension can be -1. In this case, the value is inferred from the length of the array and remaining dimensions.</param>
34
+
/// <returns>This will be a new view object if possible; otherwise, it will be a copy. Note there is no guarantee of the memory layout (C- or Fortran- contiguous) of the returned array.</returns>
/// Gives a new shape to an array without changing its data.
43
+
/// </summary>
44
+
/// <param name="shape">The new shape should be compatible with the original shape. If an integer, then the result will be a 1-D array of that length. One shape dimension can be -1. In this case, the value is inferred from the length of the array and remaining dimensions.</param>
45
+
/// <returns>This will be a new view object if possible; otherwise, it will be a copy. Note there is no guarantee of the memory layout (C- or Fortran- contiguous) of the returned array.</returns>
0 commit comments