您在 .NET 应用程序中使用什么类型的数学,不包括 System.Math?
我认为 System.Math 严重不足。 例如,在几个官方 .NET 框架中,我可以计算出三种不同的矩阵实现。 对于向量也是如此。 复数的一种实现; 任意有理数的几种不同实现,等等。
那么,您希望在假设的 System.Mathematics 命名空间中看到什么?
What sort of mathematics do you use in your .NET application, excluding everything that's in System.Math?
I think that System.Math is woefully inadequate. For example, in several official .NET frameworks, I can count three different implementations of matrices. The same goes for vectors. One implementation of a complex number; several different implementations of arbitrary rational numbers, and so on.
So, what would you like to see in a hypothetical System.Mathematics
namespace?
发布评论
评论(5)
以下是我使用的内容:
Here is what I use:
除了基本的“会计数学”之外,我很少需要任何东西。
I rarely need anything outside of basic 'accounting math'.
泛型支持(因为 C# 3.0 不允许使用泛型和运算符),例如 这里。
Generics support (since C# 3.0 doesn't allow use of generics and operators), like here.
表达式求值类似于 Flee 或 Dotmath(请参阅此处和此处)
Expression evaluation like that in Flee or Dotmath (see here and here)
查看
http://msdn.microsoft.com/en-us/vcsharp/aa336740。 aspx
在 Math 下有一些 C# 库的链接
Check
http://msdn.microsoft.com/en-us/vcsharp/aa336740.aspx
Under the Math there are some links to some libraries for C#