Just spent ages looking for a nice .NET complex number library

Mark R

Diamond Member
Oct 9, 1999
8,513
16
81
I found several classes that people had prepared, but some had annoying bugs (e.g. they get Sqrt wrong - lol).

Then I discovered that a whole complex math library (including complex trig) is part of the standard .NET distribution.

This seems to be a new thing in .NET v4.0. In case anyone hasn't realised, the class is System.Numerics.Complex.