我正在将应用程序从Visual Studio 2013 Net 4.5.1升级到Visual Studio 2015 C#6 Net 4.6,我想使用System.Numerics.Vectors Vector< T >
。我一直在使用Vector4来获得SIMD,这在我的应用程序中运行良好,我希望得到Vector <T>支持,并充分利用更大的AVX / AVX2 SIMD寄存器。
开发系统安装了Net 4.5,4.51,4.52,4.6,4.61和4.62多目标包和SDK。项目属性Target Framework是4.6。我也试过4.61。项目参考包括System.Numerics
(4.6.81.0)和System.Numerics.Vectors
(4.6.81.0)。
但是我在System.Numerics
命名空间得到的只是BigInteger,Complex,Matrix3x2 / 4x4,Plane,Quaternion,Vector2 / 3/4。我没有得到Vector <T>。
在这个晚期阶段(2019),我仍然应该安装旧的NuGet预览包来获得Vector <T>? Vector <T>现在不是当前.Net 4.6和4.61公开发布的一部分吗?如果我必须使用旧的NuGet,NuGet包只是VS和JIT的相关信息,或者这是否意味着我必须分发另一个DLL,即使System.Numerics.Vectors
已经在系统上...
我一定是个傻瓜......
Vector<T>
仅在.Net 2.1标准预览版中,如果.Net Framework不在其中。
适用于
- .NET Core:3.0 Preview 3 2.2 2.1 2.0 1.1 1.0
- .NET标准:2.1预览
- UWP:10.0
- XA Marin.Android: 7.1
- Xamarin.iOS:10.8
- Xamarin.Mac:3.0
是的,您必须包含nuget,它将拥有自己的Assembly
NuGet包只是VS和JIT的相关信息
据我所知,没有编译魔术和Vector<T>
它只是一个vanilla结构,所以你所包括的是这个结构的定义,这是所有