forked from tsai/mathnet-numerics
4 changed files with 26 additions and 43 deletions
@ -0,0 +1,21 @@ |
|||||
|
using System; |
||||
|
|
||||
|
namespace MathNet.Numerics.RootFinding |
||||
|
{ |
||||
|
public class RootFindingException : Exception |
||||
|
{ |
||||
|
public RootFindingException(string message, int iteration, double rangeMin, double rangeMax, double accuracy) |
||||
|
: base(message) |
||||
|
{ |
||||
|
Iteration = iteration; |
||||
|
RangeMin = rangeMin; |
||||
|
RangeMax = rangeMax; |
||||
|
Accuracy = accuracy; |
||||
|
} |
||||
|
|
||||
|
public int Iteration { get; set; } |
||||
|
public double RangeMin { get; set; } |
||||
|
public double RangeMax { get; set; } |
||||
|
public double Accuracy { set; get; } |
||||
|
} |
||||
|
} |
||||
Loading…
Reference in new issue