C#中的复杂计算 [英] complex calculation in C#
本文介绍了C#中的复杂计算的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我对C#中的复数有很多计算.该怎么办?
I have a lot of calculation on complex numbers in C#.what can i do? is there idea for doing it?
推荐答案
首先:请阅读:
http://msdn.microsoft.com/en-us/magazine/cc163995.aspx [ ^ ]
复数的答案在很大程度上取决于.NET Framework版本.如果您使用v.4.0.您应该使用新的名称空间System.Numerics
: http://msdn.microsoft.com/zh- us/library/system.numerics.aspx [ ^ ].
它引入了两个新事物:任意精度整数算术(这是一个了不起的成就!)和复杂算术.
—SA
First of all: read this:
http://msdn.microsoft.com/en-us/magazine/cc163995.aspx[^]
The answer on complex numbers strongly depends on .NET Framework version. If you use v.4.0. you should use new name spaceSystem.Numerics
: http://msdn.microsoft.com/en-us/library/system.numerics.aspx[^].
It introduces two new things: arbitrary-precision integer arithmetic (which is a great achievement!) and complex arithmetic.
—SA
我认为您会发现有人已经解决了以下问题:
http://numerics.mathdotnet.com/ [ ^ ]-源代码是可在codeplex上获得 [ ^ ]
最好的问候
Espen Harlinn
I think you''ll find that somebody has solved this problem before:
http://numerics.mathdotnet.com/[^] - the source code is available on codeplex[^]
Best regards
Espen Harlinn
这篇关于C#中的复杂计算的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文