Browse Source

changed static initializers to use WithXY instead of FromXY

Signed-off-by: Marcus Cuda <marcus@cuda.net>
pull/36/head
Marcus Cuda 17 years ago
parent
commit
f73b7c3de7
  1. 4
      src/Managed/Complex.cs

4
src/Managed/Complex.cs

@ -298,7 +298,7 @@ namespace MathNet.Numerics
/// <param name="real">The value for the real component.</param>
/// <param name="imaginary">The value for the imaginary component.</param>
/// <returns>A new <c>Complex</c> with the given values.</returns>
public static Complex FromRealImaginary(double real, double imaginary)
public static Complex WithRealImaginary(double real, double imaginary)
{
return new Complex(real, imaginary);
}
@ -310,7 +310,7 @@ namespace MathNet.Numerics
/// <param name="modulus">Must be non-negative.</param>
/// <param name="argument">Real number.</param>
/// <returns>A new <c>Complex</c> from the given values.</returns>
public static Complex FromModulusArgument(double modulus, double argument)
public static Complex WithModulusArgument(double modulus, double argument)
{
if (modulus < 0.0)
{

Loading…
Cancel
Save