Skip to content

Commit b72475e

Browse files
committed
Rename NumSharp project to NumSharp.Core
and update the namespace.
1 parent 75283fd commit b72475e

File tree

111 files changed

+154
-129
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

111 files changed

+154
-129
lines changed

NumSharp.sln

+6-6
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@ Microsoft Visual Studio Solution File, Format Version 12.00
33
# Visual Studio 15
44
VisualStudioVersion = 15.0.28010.2003
55
MinimumVisualStudioVersion = 10.0.40219.1
6-
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "NumSharp", "src\NumSharp\NumSharp.csproj", "{816B0D1D-C0C5-4471-8E98-24A193158A3D}"
7-
EndProject
86
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "NumSharp.UnitTest", "test\NumSharp.UnitTest\NumSharp.UnitTest.csproj", "{3EDDE7AA-8037-4663-9DD4-FFB85FF962E5}"
97
EndProject
108
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "NumSharp.Benchmark", "test\NumSharp.Benchmark\NumSharp.Benchmark.csproj", "{2D475706-0F69-4C9B-83B9-03AB1AE38186}"
@@ -15,16 +13,14 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "src", "src", "{E2079C90-B89
1513
EndProject
1614
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "NumSharp.Python", "src\NumSharp.Python\NumSharp.Python.csproj", "{381613F6-A794-4255-B50E-D2315F8A8CEC}"
1715
EndProject
16+
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "NumSharp.Core", "src\NumSharp.Core\NumSharp.Core.csproj", "{190A2514-31CD-4738-AF20-3492DD47DE8C}"
17+
EndProject
1818
Global
1919
GlobalSection(SolutionConfigurationPlatforms) = preSolution
2020
Debug|Any CPU = Debug|Any CPU
2121
Release|Any CPU = Release|Any CPU
2222
EndGlobalSection
2323
GlobalSection(ProjectConfigurationPlatforms) = postSolution
24-
{816B0D1D-C0C5-4471-8E98-24A193158A3D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
25-
{816B0D1D-C0C5-4471-8E98-24A193158A3D}.Debug|Any CPU.Build.0 = Debug|Any CPU
26-
{816B0D1D-C0C5-4471-8E98-24A193158A3D}.Release|Any CPU.ActiveCfg = Release|Any CPU
27-
{816B0D1D-C0C5-4471-8E98-24A193158A3D}.Release|Any CPU.Build.0 = Release|Any CPU
2824
{3EDDE7AA-8037-4663-9DD4-FFB85FF962E5}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
2925
{3EDDE7AA-8037-4663-9DD4-FFB85FF962E5}.Debug|Any CPU.Build.0 = Debug|Any CPU
3026
{3EDDE7AA-8037-4663-9DD4-FFB85FF962E5}.Release|Any CPU.ActiveCfg = Release|Any CPU
@@ -41,6 +37,10 @@ Global
4137
{381613F6-A794-4255-B50E-D2315F8A8CEC}.Debug|Any CPU.Build.0 = Debug|Any CPU
4238
{381613F6-A794-4255-B50E-D2315F8A8CEC}.Release|Any CPU.ActiveCfg = Release|Any CPU
4339
{381613F6-A794-4255-B50E-D2315F8A8CEC}.Release|Any CPU.Build.0 = Release|Any CPU
40+
{190A2514-31CD-4738-AF20-3492DD47DE8C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
41+
{190A2514-31CD-4738-AF20-3492DD47DE8C}.Debug|Any CPU.Build.0 = Debug|Any CPU
42+
{190A2514-31CD-4738-AF20-3492DD47DE8C}.Release|Any CPU.ActiveCfg = Release|Any CPU
43+
{190A2514-31CD-4738-AF20-3492DD47DE8C}.Release|Any CPU.Build.0 = Release|Any CPU
4444
EndGlobalSection
4545
GlobalSection(SolutionProperties) = preSolution
4646
HideSolutionNode = FALSE

src/NumSharp/Creation/NDArrayWithDType.arange.cs src/NumSharp.Core/Creation/NDArrayWithDType.arange.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
using System.Numerics;
66
using System.Text;
77

8-
namespace NumSharp
8+
namespace NumSharp.Core
99
{
1010
public partial class NDArrayWithDType
1111
{

src/NumSharp/Creation/NDArrayWithDType.reshape.cs src/NumSharp.Core/Creation/NDArrayWithDType.reshape.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
using System.Text;
55
using System.Linq;
66

7-
namespace NumSharp
7+
namespace NumSharp.Core
88
{
99
public partial class NDArrayWithDType
1010
{

src/NumSharp/Creation/NdArray.ARange.cs src/NumSharp.Core/Creation/NdArray.ARange.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
using System.Numerics;
66
using System.Text;
77

8-
namespace NumSharp
8+
namespace NumSharp.Core
99
{
1010
public partial class NDArray<T>
1111
{

src/NumSharp/Creation/NdArray.LinSpace.cs src/NumSharp.Core/Creation/NdArray.LinSpace.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
using System.Numerics;
66
using System.Text;
77

8-
namespace NumSharp
8+
namespace NumSharp.Core
99
{
1010
public partial class NDArray<T>
1111
{

src/NumSharp/Creation/NdArray.ReShape.cs src/NumSharp.Core/Creation/NdArray.ReShape.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
using System.Text;
55
using System.Linq;
66

7-
namespace NumSharp
7+
namespace NumSharp.Core
88
{
99
public partial class NDArray<T>
1010
{

src/NumSharp/Creation/NumPy.array.cs src/NumSharp.Core/Creation/NumPy.array.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
using System.Text;
66
using System.Drawing;
77

8-
namespace NumSharp
8+
namespace NumSharp.Core
99
{
1010
public static partial class NumPyExtensions
1111
{

src/NumSharp/Creation/NumPy.asarray.cs src/NumSharp.Core/Creation/NumPy.asarray.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
using System.Text;
66
using System.Drawing;
77

8-
namespace NumSharp
8+
namespace NumSharp.Core
99
{
1010
public static partial class NumPyExtensions
1111
{

src/NumSharp/Creation/NumPy.ones.cs src/NumSharp.Core/Creation/NumPy.ones.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
using System.Text;
66
using System.Numerics;
77

8-
namespace NumSharp.Extensions
8+
namespace NumSharp.Core.Extensions
99
{
1010
public static partial class NumPyExtensions
1111
{

src/NumSharp/Creation/NumPy.ones_like.cs src/NumSharp.Core/Creation/NumPy.ones_like.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
using NumSharp.Extensions;
1+
using NumSharp.Core.Extensions;
22
using System;
33
using System.Collections.Generic;
44
using System.Text;
55

6-
namespace NumSharp
6+
namespace NumSharp.Core
77
{
88
public static partial class NumPyExtensions
99
{

src/NumSharp/Extensions/NDArray.Std.cs src/NumSharp.Core/Extensions/NDArray.Std.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
using System.Linq;
44
using System.Text;
55

6-
namespace NumSharp.Extensions
6+
namespace NumSharp.Core.Extensions
77
{
88
public static partial class NDArrayExtensions
99
{

src/NumSharp/Extensions/NDArrayRandom.Shuffle.cs src/NumSharp.Core/Extensions/NDArrayRandom.Shuffle.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
using System.Security.Cryptography;
55
using System.Text;
66

7-
namespace NumSharp.Extensions
7+
namespace NumSharp.Core.Extensions
88
{
99
public static partial class NDArrayRandomExtensions
1010
{

src/NumSharp/Extensions/NDArrayRandom.randint.cs src/NumSharp.Core/Extensions/NDArrayRandom.randint.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
using System.Security.Cryptography;
55
using System.Text;
66

7-
namespace NumSharp.Extensions
7+
namespace NumSharp.Core.Extensions
88
{
99
public static partial class NDArrayRandomExtensions
1010
{

src/NumSharp/Extensions/NDArrayWithDType.AMin.cs src/NumSharp.Core/Extensions/NDArrayWithDType.AMin.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
using System.Linq;
44
using System.Text;
55

6-
namespace NumSharp
6+
namespace NumSharp.Core
77
{
88
public partial class NDArrayWithDType
99
{

src/NumSharp/Extensions/NdArray.AMax.cs src/NumSharp.Core/Extensions/NdArray.AMax.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
using System.Linq;
44
using System.Text;
55

6-
namespace NumSharp.Extensions
6+
namespace NumSharp.Core.Extensions
77
{
88
public static partial class NDArrayExtensions
99
{

src/NumSharp/Extensions/NdArray.AMin.cs src/NumSharp.Core/Extensions/NdArray.AMin.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
using System.Linq;
44
using System.Text;
55

6-
namespace NumSharp.Extensions
6+
namespace NumSharp.Core.Extensions
77
{
88
public static partial class NDArrayExtensions
99
{

src/NumSharp/Extensions/NdArray.Absolute.cs src/NumSharp.Core/Extensions/NdArray.Absolute.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
using System.Linq;
44
using System.Text;
55

6-
namespace NumSharp.Extensions
6+
namespace NumSharp.Core.Extensions
77
{
88
public static partial class NDArrayExtensions
99
{

src/NumSharp/Extensions/NdArray.ArgMax.cs src/NumSharp.Core/Extensions/NdArray.ArgMax.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
using System.Linq;
44
using System.Text;
55

6-
namespace NumSharp.Extensions
6+
namespace NumSharp.Core.Extensions
77
{
88
public static partial class NDArrayExtensions
99
{

src/NumSharp/Extensions/NdArray.AsMatrix.cs src/NumSharp.Core/Extensions/NdArray.AsMatrix.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
using System.Linq;
55
using System.Text;
66

7-
namespace NumSharp.Extensions
7+
namespace NumSharp.Core.Extensions
88
{
99
public static partial class NDArrayExtensions
1010
{

src/NumSharp/Extensions/NdArray.Convolve.cs src/NumSharp.Core/Extensions/NdArray.Convolve.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
using System.Text;
66
using NumSharp;
77

8-
namespace NumSharp.Extensions
8+
namespace NumSharp.Core.Extensions
99
{
1010
public static partial class NDArrayExtensions
1111
{

src/NumSharp/Extensions/NdArray.Eye.cs src/NumSharp.Core/Extensions/NdArray.Eye.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
using System.Linq;
55
using System.Text;
66

7-
namespace NumSharp.Extensions
7+
namespace NumSharp.Core.Extensions
88
{
99
public static partial class NDArrayExtensions
1010
{

src/NumSharp/Extensions/NdArray.HStack.cs src/NumSharp.Core/Extensions/NdArray.HStack.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
using System.Linq;
44
using System.Text;
55

6-
namespace NumSharp.Extensions
6+
namespace NumSharp.Core.Extensions
77
{
88
public static partial class NDArrayExtensions
99
{

src/NumSharp/Extensions/NdArray.Max.cs src/NumSharp.Core/Extensions/NdArray.Max.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
using System.Linq;
44
using System.Text;
55

6-
namespace NumSharp.Extensions
6+
namespace NumSharp.Core.Extensions
77
{
88
public static partial class NDArrayExtensions
99
{

src/NumSharp/Extensions/NdArray.Mean.cs src/NumSharp.Core/Extensions/NdArray.Mean.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
using System.Linq;
44
using System.Text;
55

6-
namespace NumSharp.Extensions
6+
namespace NumSharp.Core.Extensions
77
{
88
public static partial class NDArrayExtensions
99
{

src/NumSharp/Extensions/NdArray.Normalize.cs src/NumSharp.Core/Extensions/NdArray.Normalize.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
using System.Linq;
44
using System.Text;
55

6-
namespace NumSharp.Extensions
6+
namespace NumSharp.Core.Extensions
77
{
88
public static partial class NDArrayExtensions
99
{

src/NumSharp/Extensions/NdArray.Random.cs src/NumSharp.Core/Extensions/NdArray.Random.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
using System.Linq;
44
using System.Text;
55

6-
namespace NumSharp
6+
namespace NumSharp.Core
77
{
88
public partial class NDArray_Legacy<TData>
99
{

src/NumSharp/Extensions/NdArray.Sqrt.cs src/NumSharp.Core/Extensions/NdArray.Sqrt.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
using System.Numerics;
44
using System.Text;
55

6-
namespace NumSharp.Extensions
6+
namespace NumSharp.Core.Extensions
77
{
88
public static partial class NDArrayExtensions
99
{

src/NumSharp/Extensions/NdArray.Sum.cs src/NumSharp.Core/Extensions/NdArray.Sum.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
using System.Linq;
44
using System.Text;
55

6-
namespace NumSharp.Extensions
6+
namespace NumSharp.Core.Extensions
77
{
88
public static partial class NDArrayExtensions
99
{

src/NumSharp/Extensions/NdArray.Unique.cs src/NumSharp.Core/Extensions/NdArray.Unique.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
using System.Linq;
44
using System.Text;
55

6-
namespace NumSharp.Extensions
6+
namespace NumSharp.Core.Extensions
77
{
88
public static partial class NDArrayExtensions
99
{

src/NumSharp/Extensions/NdArray.VStack.cs src/NumSharp.Core/Extensions/NdArray.VStack.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
using System.Linq;
44
using System.Text;
55

6-
namespace NumSharp.Extensions
6+
namespace NumSharp.Core.Extensions
77
{
88
public static partial class NDArrayExtensions
99
{

src/NumSharp/Extensions/NdArray.Zeros.cs src/NumSharp.Core/Extensions/NdArray.Zeros.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
using System.Linq;
55
using System.Text;
66

7-
namespace NumSharp.Extensions
7+
namespace NumSharp.Core.Extensions
88
{
99
public partial class NDArrayExtensions
1010
{

src/NumSharp/Extensions/NdArrayRandom.Permutation.cs src/NumSharp.Core/Extensions/NdArrayRandom.Permutation.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
using System.Linq;
44
using System.Text;
55

6-
namespace NumSharp.Extensions
6+
namespace NumSharp.Core.Extensions
77
{
88
public static partial class NDArrayRandomExtensions
99
{

src/NumSharp/Extensions/NumPy.min.cs src/NumSharp.Core/Extensions/NumPy.min.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
using System.Linq;
44
using System.Text;
55

6-
namespace NumSharp.Extensions
6+
namespace NumSharp.Core.Extensions
77
{
88
public static partial class NumPyExtensions
99
{

src/NumSharp/LinearAlgebra/NdArray.Dot.cs src/NumSharp.Core/LinearAlgebra/NdArray.Dot.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
using System.Linq;
44
using System.Text;
55
using System.Numerics;
6-
using NumSharp.Extensions;
6+
using NumSharp.Core.Extensions;
77

8-
namespace NumSharp
8+
namespace NumSharp.Core
99
{
1010
public partial class NDArray<T>
1111
{

src/NumSharp/LinearAlgebra/NdArray.Inv.cs src/NumSharp.Core/LinearAlgebra/NdArray.Inv.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
using System.ComponentModel;
44
using System.Linq;
55
using System.Text;
6-
using NumSharp.Shared;
6+
using NumSharp.Core.Shared;
77

8-
namespace NumSharp
8+
namespace NumSharp.Core
99
{
1010
public partial class NDArray<T>
1111
{

src/NumSharp/LinearAlgebra/NdArray.Transpose.cs src/NumSharp.Core/LinearAlgebra/NdArray.Transpose.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
using System.Linq;
44
using System.Text;
55
using System.Numerics;
6-
using NumSharp.Extensions;
6+
using NumSharp.Core.Extensions;
77

8-
namespace NumSharp
8+
namespace NumSharp.Core
99
{
1010
public partial class NDArray<T>
1111
{

src/NumSharp/LinearAlgebra/NdArray.multi_dot.cs src/NumSharp.Core/LinearAlgebra/NdArray.multi_dot.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
using System.Linq;
44
using System.Text;
55
using System.Numerics;
6-
using NumSharp.Extensions;
6+
using NumSharp.Core.Extensions;
77

8-
namespace NumSharp
8+
namespace NumSharp.Core
99
{
1010
public partial class NDArray<T>
1111
{

src/NumSharp/Manipulation/NumPy.delete.cs src/NumSharp.Core/Manipulation/NumPy.delete.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
using System.Linq;
44
using System.Text;
55

6-
namespace NumSharp.Extensions
6+
namespace NumSharp.Core.Extensions
77
{
88
public static partial class NumPyExtensions
99
{

src/NumSharp/Math/NDArray.power.cs src/NumSharp.Core/Math/NDArray.power.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
using System.Linq;
44
using System.Text;
55
using System.Numerics;
6-
using NumSharp.Extensions;
6+
using NumSharp.Core.Extensions;
77

8-
namespace NumSharp
8+
namespace NumSharp.Core
99
{
1010
public partial class NDArray<T>
1111
{

0 commit comments

Comments
 (0)