Math.NET Numerics
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

2857 lines
139 KiB

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>Precision - Math.NET Numerics Documentation</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<link type="text/css" rel="stylesheet" href="../main.css"/>
<script type="text/javascript" src="../js/jquery-1.3.2.min.js"></script>
<script type="text/javascript" src="../js/jquery.scrollTo-min.js"></script>
<script type="text/javascript" src="../js/navigation.js"></script>
<script type="text/javascript" src="../js/example.js"></script>
</head>
<body><div id="namespaces">
<h2 class="fixed">Namespaces</h2>
<div class="scroll">
<ul>
<li>
<a href="../MathNet.Numerics/index.htm" class="current">MathNet.Numerics</a>
</li>
<li>
<a href="../MathNet.Numerics.Differentiation/index.htm">MathNet.Numerics.Differentiation</a>
</li>
<li>
<a href="../MathNet.Numerics.Distributions/index.htm">MathNet.Numerics.Distributions</a>
</li>
<li>
<a href="../MathNet.Numerics.Financial/index.htm">MathNet.Numerics.Financial</a>
</li>
<li>
<a href="../MathNet.Numerics.IntegralTransforms/index.htm">MathNet.Numerics.IntegralTransforms</a>
</li>
<li>
<a href="../MathNet.Numerics.Integration/index.htm">MathNet.Numerics.Integration</a>
</li>
<li>
<a href="../MathNet.Numerics.Interpolation/index.htm">MathNet.Numerics.Interpolation</a>
</li>
<li>
<a href="../MathNet.Numerics.LinearAlgebra/index.htm">MathNet.Numerics.LinearAlgebra</a>
</li>
<li>
<a href="../MathNet.Numerics.LinearAlgebra.Complex/index.htm">MathNet.Numerics.LinearAlgebra.Complex</a>
</li>
<li>
<a href="../MathNet.Numerics.LinearAlgebra.Complex.Solvers/index.htm">MathNet.Numerics.LinearAlgebra.Complex.Solvers</a>
</li>
<li>
<a href="../MathNet.Numerics.LinearAlgebra.Complex32/index.htm">MathNet.Numerics.LinearAlgebra.Complex32</a>
</li>
<li>
<a href="../MathNet.Numerics.LinearAlgebra.Complex32.Solvers/index.htm">MathNet.Numerics.LinearAlgebra.Complex32.Solvers</a>
</li>
<li>
<a href="../MathNet.Numerics.LinearAlgebra.Double/index.htm">MathNet.Numerics.LinearAlgebra.Double</a>
</li>
<li>
<a href="../MathNet.Numerics.LinearAlgebra.Double.Solvers/index.htm">MathNet.Numerics.LinearAlgebra.Double.Solvers</a>
</li>
<li>
<a href="../MathNet.Numerics.LinearAlgebra.Factorization/index.htm">MathNet.Numerics.LinearAlgebra.Factorization</a>
</li>
<li>
<a href="../MathNet.Numerics.LinearAlgebra.Single/index.htm">MathNet.Numerics.LinearAlgebra.Single</a>
</li>
<li>
<a href="../MathNet.Numerics.LinearAlgebra.Single.Solvers/index.htm">MathNet.Numerics.LinearAlgebra.Single.Solvers</a>
</li>
<li>
<a href="../MathNet.Numerics.LinearAlgebra.Solvers/index.htm">MathNet.Numerics.LinearAlgebra.Solvers</a>
</li>
<li>
<a href="../MathNet.Numerics.LinearAlgebra.Storage/index.htm">MathNet.Numerics.LinearAlgebra.Storage</a>
</li>
<li>
<a href="../MathNet.Numerics.LinearRegression/index.htm">MathNet.Numerics.LinearRegression</a>
</li>
<li>
<a href="../MathNet.Numerics.OdeSolvers/index.htm">MathNet.Numerics.OdeSolvers</a>
</li>
<li>
<a href="../MathNet.Numerics.Optimization/index.htm">MathNet.Numerics.Optimization</a>
</li>
<li>
<a href="../MathNet.Numerics.Optimization.LineSearch/index.htm">MathNet.Numerics.Optimization.LineSearch</a>
</li>
<li>
<a href="../MathNet.Numerics.Optimization.ObjectiveFunctions/index.htm">MathNet.Numerics.Optimization.ObjectiveFunctions</a>
</li>
<li>
<a href="../MathNet.Numerics.Optimization.TrustRegion/index.htm">MathNet.Numerics.Optimization.TrustRegion</a>
</li>
<li>
<a href="../MathNet.Numerics.Providers/index.htm">MathNet.Numerics.Providers</a>
</li>
<li>
<a href="../MathNet.Numerics.Providers.FourierTransform/index.htm">MathNet.Numerics.Providers.FourierTransform</a>
</li>
<li>
<a href="../MathNet.Numerics.Providers.LinearAlgebra/index.htm">MathNet.Numerics.Providers.LinearAlgebra</a>
</li>
<li>
<a href="../MathNet.Numerics.Providers.SparseSolver/index.htm">MathNet.Numerics.Providers.SparseSolver</a>
</li>
<li>
<a href="../MathNet.Numerics.Random/index.htm">MathNet.Numerics.Random</a>
</li>
<li>
<a href="../MathNet.Numerics.RootFinding/index.htm">MathNet.Numerics.RootFinding</a>
</li>
<li>
<a href="../MathNet.Numerics.Statistics/index.htm">MathNet.Numerics.Statistics</a>
</li>
<li>
<a href="../MathNet.Numerics.Statistics.Mcmc/index.htm">MathNet.Numerics.Statistics.Mcmc</a>
</li>
</ul>
</div>
</div><div id="types">
<h2 class="fixed">Types in MathNet.Numerics</h2>
<div class="scroll">
<ul>
<li>
<a href="../MathNet.Numerics/AppSwitches.htm">AppSwitches</a>
</li>
<li>
<a href="../MathNet.Numerics/Combinatorics.htm">Combinatorics</a>
</li>
<li>
<a href="../MathNet.Numerics/Complex32.htm">Complex32</a>
</li>
<li>
<a href="../MathNet.Numerics/ComplexExtensions.htm">ComplexExtensions</a>
</li>
<li>
<a href="../MathNet.Numerics/Constants.htm">Constants</a>
</li>
<li>
<a href="../MathNet.Numerics/ContourIntegrate.htm">ContourIntegrate</a>
</li>
<li>
<a href="../MathNet.Numerics/Control.htm">Control</a>
</li>
<li>
<a href="../MathNet.Numerics/Differentiate.htm">Differentiate</a>
</li>
<li>
<a href="../MathNet.Numerics/DifferIntegrate.htm">DifferIntegrate</a>
</li>
<li>
<a href="../MathNet.Numerics/Distance.htm">Distance</a>
</li>
<li>
<a href="../MathNet.Numerics/Euclid.htm">Euclid</a>
</li>
<li>
<a href="../MathNet.Numerics/ExcelFunctions.htm">ExcelFunctions</a>
</li>
<li>
<a href="../MathNet.Numerics/FindMinimum.htm">FindMinimum</a>
</li>
<li>
<a href="../MathNet.Numerics/FindRoots.htm">FindRoots</a>
</li>
<li>
<a href="../MathNet.Numerics/Fit.htm">Fit</a>
</li>
<li>
<a href="../MathNet.Numerics/Generate.htm">Generate</a>
</li>
<li>
<a href="../MathNet.Numerics/GoodnessOfFit.htm">GoodnessOfFit</a>
</li>
<li>
<a href="../MathNet.Numerics/Integrate.htm">Integrate</a>
</li>
<li>
<a href="../MathNet.Numerics/Interpolate.htm">Interpolate</a>
</li>
<li>
<a href="../MathNet.Numerics/InvalidParameterException.htm">InvalidParameterException</a>
</li>
<li>
<a href="../MathNet.Numerics/IPrecisionSupport`1.htm">IPrecisionSupport&lt;T&gt;</a>
</li>
<li>
<a href="../MathNet.Numerics/MemoryAllocationException.htm">MemoryAllocationException</a>
</li>
<li>
<a href="../MathNet.Numerics/NativeInterfaceException.htm">NativeInterfaceException</a>
</li>
<li>
<a href="../MathNet.Numerics/NonConvergenceException.htm">NonConvergenceException</a>
</li>
<li>
<a href="../MathNet.Numerics/NumericalBreakdownException.htm">NumericalBreakdownException</a>
</li>
<li>
<a href="../MathNet.Numerics/Permutation.htm">Permutation</a>
</li>
<li>
<a href="../MathNet.Numerics/Polynomial.htm">Polynomial</a>
</li>
<li>
<a href="../MathNet.Numerics/Precision.htm" class="current">Precision</a>
</li>
<li>
<a href="../MathNet.Numerics/Series.htm">Series</a>
</li>
<li>
<a href="../MathNet.Numerics/SingularUMatrixException.htm">SingularUMatrixException</a>
</li>
<li>
<a href="../MathNet.Numerics/Sorting.htm">Sorting</a>
</li>
<li>
<a href="../MathNet.Numerics/SpecialFunctions.htm">SpecialFunctions</a>
</li>
<li>
<a href="../MathNet.Numerics/TestFunctions.htm">TestFunctions</a>
</li>
<li>
<a href="../MathNet.Numerics/Trig.htm">Trig</a>
</li>
<li>
<a href="../MathNet.Numerics/Window.htm">Window</a>
</li>
</ul>
</div>
</div>
<div class="header">
<p class="class"><strong>Type</strong> Precision</p>
<p><strong>Namespace</strong> MathNet.Numerics</p>
</div>
<div class="sub-header">
<div id="summary">Utilities for working with floating point numbers. <blockquote class="remarks">
<p>Useful links: <ul><li></li><li></li></ul> </p>
</blockquote>
</div>
<h3 class="section">Static Functions</h3>
<ul>
<li><a href="../MathNet.Numerics/Precision.htm#AlmostEqual">AlmostEqual</a></li>
<li><a href="../MathNet.Numerics/Precision.htm#AlmostEqual">AlmostEqual</a></li>
<li><a href="../MathNet.Numerics/Precision.htm#AlmostEqual">AlmostEqual</a></li>
<li><a href="../MathNet.Numerics/Precision.htm#AlmostEqual">AlmostEqual</a></li>
<li><a href="../MathNet.Numerics/Precision.htm#AlmostEqual">AlmostEqual</a></li>
<li><a href="../MathNet.Numerics/Precision.htm#AlmostEqual">AlmostEqual</a></li>
<li><a href="../MathNet.Numerics/Precision.htm#AlmostEqual">AlmostEqual</a></li>
<li><a href="../MathNet.Numerics/Precision.htm#AlmostEqual">AlmostEqual</a></li>
<li><a href="../MathNet.Numerics/Precision.htm#AlmostEqual">AlmostEqual</a></li>
<li><a href="../MathNet.Numerics/Precision.htm#AlmostEqual">AlmostEqual</a></li>
<li><a href="../MathNet.Numerics/Precision.htm#AlmostEqual">AlmostEqual</a></li>
<li><a href="../MathNet.Numerics/Precision.htm#AlmostEqual">AlmostEqual</a></li>
<li><a href="../MathNet.Numerics/Precision.htm#AlmostEqual``1">AlmostEqual&lt;T&gt;</a></li>
<li><a href="../MathNet.Numerics/Precision.htm#AlmostEqual``1">AlmostEqual&lt;T&gt;</a></li>
<li><a href="../MathNet.Numerics/Precision.htm#AlmostEqual``1">AlmostEqual&lt;T&gt;</a></li>
<li><a href="../MathNet.Numerics/Precision.htm#AlmostEqual``1">AlmostEqual&lt;T&gt;</a></li>
<li><a href="../MathNet.Numerics/Precision.htm#AlmostEqualNorm">AlmostEqualNorm</a></li>
<li><a href="../MathNet.Numerics/Precision.htm#AlmostEqualNorm">AlmostEqualNorm</a></li>
<li><a href="../MathNet.Numerics/Precision.htm#AlmostEqualNorm``1">AlmostEqualNorm&lt;T&gt;</a></li>
<li><a href="../MathNet.Numerics/Precision.htm#AlmostEqualNorm``1">AlmostEqualNorm&lt;T&gt;</a></li>
<li><a href="../MathNet.Numerics/Precision.htm#AlmostEqualNormRelative">AlmostEqualNormRelative</a></li>
<li><a href="../MathNet.Numerics/Precision.htm#AlmostEqualNormRelative">AlmostEqualNormRelative</a></li>
<li><a href="../MathNet.Numerics/Precision.htm#AlmostEqualNormRelative``1">AlmostEqualNormRelative&lt;T&gt;</a></li>
<li><a href="../MathNet.Numerics/Precision.htm#AlmostEqualNormRelative``1">AlmostEqualNormRelative&lt;T&gt;</a></li>
<li><a href="../MathNet.Numerics/Precision.htm#AlmostEqualNumbersBetween">AlmostEqualNumbersBetween</a></li>
<li><a href="../MathNet.Numerics/Precision.htm#AlmostEqualNumbersBetween">AlmostEqualNumbersBetween</a></li>
<li><a href="../MathNet.Numerics/Precision.htm#AlmostEqualRelative">AlmostEqualRelative</a></li>
<li><a href="../MathNet.Numerics/Precision.htm#AlmostEqualRelative">AlmostEqualRelative</a></li>
<li><a href="../MathNet.Numerics/Precision.htm#AlmostEqualRelative">AlmostEqualRelative</a></li>
<li><a href="../MathNet.Numerics/Precision.htm#AlmostEqualRelative">AlmostEqualRelative</a></li>
<li><a href="../MathNet.Numerics/Precision.htm#AlmostEqualRelative">AlmostEqualRelative</a></li>
<li><a href="../MathNet.Numerics/Precision.htm#AlmostEqualRelative">AlmostEqualRelative</a></li>
<li><a href="../MathNet.Numerics/Precision.htm#AlmostEqualRelative">AlmostEqualRelative</a></li>
<li><a href="../MathNet.Numerics/Precision.htm#AlmostEqualRelative">AlmostEqualRelative</a></li>
<li><a href="../MathNet.Numerics/Precision.htm#AlmostEqualRelative">AlmostEqualRelative</a></li>
<li><a href="../MathNet.Numerics/Precision.htm#AlmostEqualRelative">AlmostEqualRelative</a></li>
<li><a href="../MathNet.Numerics/Precision.htm#AlmostEqualRelative">AlmostEqualRelative</a></li>
<li><a href="../MathNet.Numerics/Precision.htm#AlmostEqualRelative">AlmostEqualRelative</a></li>
<li><a href="../MathNet.Numerics/Precision.htm#AlmostEqualRelative``1">AlmostEqualRelative&lt;T&gt;</a></li>
<li><a href="../MathNet.Numerics/Precision.htm#AlmostEqualRelative``1">AlmostEqualRelative&lt;T&gt;</a></li>
<li><a href="../MathNet.Numerics/Precision.htm#AlmostEqualRelative``1">AlmostEqualRelative&lt;T&gt;</a></li>
<li><a href="../MathNet.Numerics/Precision.htm#AlmostEqualRelative``1">AlmostEqualRelative&lt;T&gt;</a></li>
<li><a href="../MathNet.Numerics/Precision.htm#CoerceZero">CoerceZero</a></li>
<li><a href="../MathNet.Numerics/Precision.htm#CoerceZero">CoerceZero</a></li>
<li><a href="../MathNet.Numerics/Precision.htm#CoerceZero">CoerceZero</a></li>
<li><a href="../MathNet.Numerics/Precision.htm#CoerceZero">CoerceZero</a></li>
<li><a href="../MathNet.Numerics/Precision.htm#CompareTo">CompareTo</a></li>
<li><a href="../MathNet.Numerics/Precision.htm#CompareTo">CompareTo</a></li>
<li><a href="../MathNet.Numerics/Precision.htm#CompareToNumbersBetween">CompareToNumbersBetween</a></li>
<li><a href="../MathNet.Numerics/Precision.htm#CompareToRelative">CompareToRelative</a></li>
<li><a href="../MathNet.Numerics/Precision.htm#CompareToRelative">CompareToRelative</a></li>
<li><a href="../MathNet.Numerics/Precision.htm#Decrement">Decrement</a></li>
<li><a href="../MathNet.Numerics/Precision.htm#EpsilonOf">EpsilonOf</a></li>
<li><a href="../MathNet.Numerics/Precision.htm#EpsilonOf">EpsilonOf</a></li>
<li><a href="../MathNet.Numerics/Precision.htm#Increment">Increment</a></li>
<li><a href="../MathNet.Numerics/Precision.htm#IsFinite">IsFinite</a></li>
<li><a href="../MathNet.Numerics/Precision.htm#IsLarger">IsLarger</a></li>
<li><a href="../MathNet.Numerics/Precision.htm#IsLarger">IsLarger</a></li>
<li><a href="../MathNet.Numerics/Precision.htm#IsLarger">IsLarger</a></li>
<li><a href="../MathNet.Numerics/Precision.htm#IsLarger">IsLarger</a></li>
<li><a href="../MathNet.Numerics/Precision.htm#IsLargerNumbersBetween">IsLargerNumbersBetween</a></li>
<li><a href="../MathNet.Numerics/Precision.htm#IsLargerNumbersBetween">IsLargerNumbersBetween</a></li>
<li><a href="../MathNet.Numerics/Precision.htm#IsLargerRelative">IsLargerRelative</a></li>
<li><a href="../MathNet.Numerics/Precision.htm#IsLargerRelative">IsLargerRelative</a></li>
<li><a href="../MathNet.Numerics/Precision.htm#IsLargerRelative">IsLargerRelative</a></li>
<li><a href="../MathNet.Numerics/Precision.htm#IsLargerRelative">IsLargerRelative</a></li>
<li><a href="../MathNet.Numerics/Precision.htm#IsSmaller">IsSmaller</a></li>
<li><a href="../MathNet.Numerics/Precision.htm#IsSmaller">IsSmaller</a></li>
<li><a href="../MathNet.Numerics/Precision.htm#IsSmaller">IsSmaller</a></li>
<li><a href="../MathNet.Numerics/Precision.htm#IsSmaller">IsSmaller</a></li>
<li><a href="../MathNet.Numerics/Precision.htm#IsSmallerNumbersBetween">IsSmallerNumbersBetween</a></li>
<li><a href="../MathNet.Numerics/Precision.htm#IsSmallerNumbersBetween">IsSmallerNumbersBetween</a></li>
<li><a href="../MathNet.Numerics/Precision.htm#IsSmallerRelative">IsSmallerRelative</a></li>
<li><a href="../MathNet.Numerics/Precision.htm#IsSmallerRelative">IsSmallerRelative</a></li>
<li><a href="../MathNet.Numerics/Precision.htm#IsSmallerRelative">IsSmallerRelative</a></li>
<li><a href="../MathNet.Numerics/Precision.htm#IsSmallerRelative">IsSmallerRelative</a></li>
<li><a href="../MathNet.Numerics/Precision.htm#ListAlmostEqual">ListAlmostEqual</a></li>
<li><a href="../MathNet.Numerics/Precision.htm#ListAlmostEqual">ListAlmostEqual</a></li>
<li><a href="../MathNet.Numerics/Precision.htm#ListAlmostEqualNorm``1">ListAlmostEqualNorm&lt;T&gt;</a></li>
<li><a href="../MathNet.Numerics/Precision.htm#ListAlmostEqualNormRelative``1">ListAlmostEqualNormRelative&lt;T&gt;</a></li>
<li><a href="../MathNet.Numerics/Precision.htm#ListAlmostEqualRelative">ListAlmostEqualRelative</a></li>
<li><a href="../MathNet.Numerics/Precision.htm#ListAlmostEqualRelative">ListAlmostEqualRelative</a></li>
<li><a href="../MathNet.Numerics/Precision.htm#Magnitude">Magnitude</a></li>
<li><a href="../MathNet.Numerics/Precision.htm#Magnitude">Magnitude</a></li>
<li><a href="../MathNet.Numerics/Precision.htm#MaximumMatchingFloatingPointNumber">MaximumMatchingFloatingPointNumber</a></li>
<li><a href="../MathNet.Numerics/Precision.htm#MinimumMatchingFloatingPointNumber">MinimumMatchingFloatingPointNumber</a></li>
<li><a href="../MathNet.Numerics/Precision.htm#NumbersBetween">NumbersBetween</a></li>
<li><a href="../MathNet.Numerics/Precision.htm#PositiveEpsilonOf">PositiveEpsilonOf</a></li>
<li><a href="../MathNet.Numerics/Precision.htm#PositiveEpsilonOf">PositiveEpsilonOf</a></li>
<li><a href="../MathNet.Numerics/Precision.htm#RangeOfMatchingFloatingPointNumbers">RangeOfMatchingFloatingPointNumbers</a></li>
<li><a href="../MathNet.Numerics/Precision.htm#RangeOfMatchingNumbers">RangeOfMatchingNumbers</a></li>
<li><a href="../MathNet.Numerics/Precision.htm#Round">Round</a></li>
<li><a href="../MathNet.Numerics/Precision.htm#Round">Round</a></li>
<li><a href="../MathNet.Numerics/Precision.htm#Round">Round</a></li>
<li><a href="../MathNet.Numerics/Precision.htm#Round">Round</a></li>
<li><a href="../MathNet.Numerics/Precision.htm#Round">Round</a></li>
<li><a href="../MathNet.Numerics/Precision.htm#Round">Round</a></li>
<li><a href="../MathNet.Numerics/Precision.htm#Round">Round</a></li>
<li><a href="../MathNet.Numerics/Precision.htm#Round">Round</a></li>
<li><a href="../MathNet.Numerics/Precision.htm#Round">Round</a></li>
<li><a href="../MathNet.Numerics/Precision.htm#Round">Round</a></li>
<li><a href="../MathNet.Numerics/Precision.htm#RoundToMultiple">RoundToMultiple</a></li>
<li><a href="../MathNet.Numerics/Precision.htm#RoundToMultiple">RoundToMultiple</a></li>
<li><a href="../MathNet.Numerics/Precision.htm#RoundToMultiple">RoundToMultiple</a></li>
<li><a href="../MathNet.Numerics/Precision.htm#RoundToPower">RoundToPower</a></li>
<li><a href="../MathNet.Numerics/Precision.htm#RoundToPower">RoundToPower</a></li>
<li><a href="../MathNet.Numerics/Precision.htm#ScaleUnitMagnitude">ScaleUnitMagnitude</a></li>
</ul>
<h3 class="section">Fields</h3>
<ul>
<li><a href="../MathNet.Numerics/Precision.htm#DoublePrecision">DoublePrecision</a></li>
<li><a href="../MathNet.Numerics/Precision.htm#PositiveDoublePrecision">PositiveDoublePrecision</a></li>
<li><a href="../MathNet.Numerics/Precision.htm#SinglePrecision">SinglePrecision</a></li>
<li><a href="../MathNet.Numerics/Precision.htm#PositiveSinglePrecision">PositiveSinglePrecision</a></li>
<li><a href="../MathNet.Numerics/Precision.htm#MachineEpsilon">MachineEpsilon</a></li>
<li><a href="../MathNet.Numerics/Precision.htm#PositiveMachineEpsilon">PositiveMachineEpsilon</a></li>
<li><a href="../MathNet.Numerics/Precision.htm#DoubleDecimalPlaces">DoubleDecimalPlaces</a></li>
<li><a href="../MathNet.Numerics/Precision.htm#SingleDecimalPlaces">SingleDecimalPlaces</a></li>
</ul>
</div>
<h3 class="section">Public Static Functions</h3>
<div id="AlmostEqual" class="method">
<h4><span title="System.bool">bool</span> <strong>AlmostEqual</strong>(this <span title="System.double">double</span> a, <span title="System.double">double</span> b)</h4>
<div class="content">Checks whether two real numbers are almost equal.
<div class="parameters">
<h5>Parameters</h5>
<h6><code><span title="System.double">double</span></code> a</h6>
<p class="comments">The first number </p>
<h6><code><span title="System.double">double</span></code> b</h6>
<p class="comments">The second number </p>
</div>
<div class="return">
<h5>Return</h5>
<h6><code><span title="System.bool">bool</span></code></h6>
<p>true if the two values differ by no more than 10 * 2^(-52); false otherwise. </p>
</div>
</div>
</div>
<div id="AlmostEqual" class="method">
<h4><span title="System.bool">bool</span> <strong>AlmostEqual</strong>(this <span title="System.Numerics.Complex">Complex</span> a, <span title="System.Numerics.Complex">Complex</span> b)</h4>
<div class="content">Checks whether two Complex numbers are almost equal.
<div class="parameters">
<h5>Parameters</h5>
<h6><code><span title="System.Numerics.Complex">Complex</span></code> a</h6>
<p class="comments">The first number </p>
<h6><code><span title="System.Numerics.Complex">Complex</span></code> b</h6>
<p class="comments">The second number </p>
</div>
<div class="return">
<h5>Return</h5>
<h6><code><span title="System.bool">bool</span></code></h6>
<p>true if the two values differ by no more than 10 * 2^(-52); false otherwise. </p>
</div>
</div>
</div>
<div id="AlmostEqual" class="method">
<h4><span title="System.bool">bool</span> <strong>AlmostEqual</strong>(this <span title="System.double">double</span> a, <span title="System.double">double</span> b, <span title="System.double">double</span> maximumAbsoluteError)</h4>
<div class="content">Compares two doubles and determines if they are equal within
the specified maximum error.
<div class="parameters">
<h5>Parameters</h5>
<h6><code><span title="System.double">double</span></code> a</h6>
<p class="comments">The first value. </p>
<h6><code><span title="System.double">double</span></code> b</h6>
<p class="comments">The second value. </p>
<h6><code><span title="System.double">double</span></code> maximumAbsoluteError</h6>
<p class="comments">The accuracy required for being almost equal. </p>
</div>
</div>
</div>
<div id="AlmostEqual" class="method">
<h4><span title="System.bool">bool</span> <strong>AlmostEqual</strong>(this <span title="System.double">double</span> a, <span title="System.double">double</span> b, <span title="System.int">int</span> decimalPlaces)</h4>
<div class="content">Compares two doubles and determines if they are equal to within the specified number of decimal places or not, using the
number of decimal places as an absolute measure.
<div class="parameters">
<h5>Parameters</h5>
<h6><code><span title="System.double">double</span></code> a</h6>
<p class="comments">The first value. </p>
<h6><code><span title="System.double">double</span></code> b</h6>
<p class="comments">The second value. </p>
<h6><code><span title="System.int">int</span></code> decimalPlaces</h6>
<p class="comments">The number of decimal places. </p>
</div>
</div>
</div>
<div id="AlmostEqual" class="method">
<h4><span title="System.bool">bool</span> <strong>AlmostEqual</strong>(this <span title="System.float">float</span> a, <span title="System.float">float</span> b, <span title="System.double">double</span> maximumAbsoluteError)</h4>
<div class="content">Compares two complex and determines if they are equal within
the specified maximum error.
<div class="parameters">
<h5>Parameters</h5>
<h6><code><span title="System.float">float</span></code> a</h6>
<p class="comments">The first value. </p>
<h6><code><span title="System.float">float</span></code> b</h6>
<p class="comments">The second value. </p>
<h6><code><span title="System.double">double</span></code> maximumAbsoluteError</h6>
<p class="comments">The accuracy required for being almost equal. </p>
</div>
</div>
</div>
<div id="AlmostEqual" class="method">
<h4><span title="System.bool">bool</span> <strong>AlmostEqual</strong>(this <span title="System.float">float</span> a, <span title="System.float">float</span> b, <span title="System.int">int</span> decimalPlaces)</h4>
<div class="content">Compares two doubles and determines if they are equal to within the specified number of decimal places or not, using the
number of decimal places as an absolute measure.
<div class="parameters">
<h5>Parameters</h5>
<h6><code><span title="System.float">float</span></code> a</h6>
<p class="comments">The first value. </p>
<h6><code><span title="System.float">float</span></code> b</h6>
<p class="comments">The second value. </p>
<h6><code><span title="System.int">int</span></code> decimalPlaces</h6>
<p class="comments">The number of decimal places. </p>
</div>
</div>
</div>
<div id="AlmostEqual" class="method">
<h4><span title="System.bool">bool</span> <strong>AlmostEqual</strong>(this <span title="System.Numerics.Complex">Complex</span> a, <span title="System.Numerics.Complex">Complex</span> b, <span title="System.double">double</span> maximumAbsoluteError)</h4>
<div class="content">Compares two complex and determines if they are equal within
the specified maximum error.
<div class="parameters">
<h5>Parameters</h5>
<h6><code><span title="System.Numerics.Complex">Complex</span></code> a</h6>
<p class="comments">The first value. </p>
<h6><code><span title="System.Numerics.Complex">Complex</span></code> b</h6>
<p class="comments">The second value. </p>
<h6><code><span title="System.double">double</span></code> maximumAbsoluteError</h6>
<p class="comments">The accuracy required for being almost equal. </p>
</div>
</div>
</div>
<div id="AlmostEqual" class="method">
<h4><span title="System.bool">bool</span> <strong>AlmostEqual</strong>(this <a href="../MathNet.Numerics/Complex32.htm">Complex32</a> a, <a href="../MathNet.Numerics/Complex32.htm">Complex32</a> b, <span title="System.double">double</span> maximumAbsoluteError)</h4>
<div class="content">Compares two complex and determines if they are equal within
the specified maximum error.
<div class="parameters">
<h5>Parameters</h5>
<h6><code><a href="../MathNet.Numerics/Complex32.htm">Complex32</a></code> a</h6>
<p class="comments">The first value. </p>
<h6><code><a href="../MathNet.Numerics/Complex32.htm">Complex32</a></code> b</h6>
<p class="comments">The second value. </p>
<h6><code><span title="System.double">double</span></code> maximumAbsoluteError</h6>
<p class="comments">The accuracy required for being almost equal. </p>
</div>
</div>
</div>
<div id="AlmostEqual" class="method">
<h4><span title="System.bool">bool</span> <strong>AlmostEqual</strong>(this <a href="../MathNet.Numerics/Complex32.htm">Complex32</a> a, <a href="../MathNet.Numerics/Complex32.htm">Complex32</a> b)</h4>
<div class="content">Checks whether two Complex numbers are almost equal.
<div class="parameters">
<h5>Parameters</h5>
<h6><code><a href="../MathNet.Numerics/Complex32.htm">Complex32</a></code> a</h6>
<p class="comments">The first number </p>
<h6><code><a href="../MathNet.Numerics/Complex32.htm">Complex32</a></code> b</h6>
<p class="comments">The second number </p>
</div>
<div class="return">
<h5>Return</h5>
<h6><code><span title="System.bool">bool</span></code></h6>
<p>true if the two values differ by no more than 10 * 2^(-52); false otherwise. </p>
</div>
</div>
</div>
<div id="AlmostEqual" class="method">
<h4><span title="System.bool">bool</span> <strong>AlmostEqual</strong>(this <span title="System.float">float</span> a, <span title="System.float">float</span> b)</h4>
<div class="content">Checks whether two real numbers are almost equal.
<div class="parameters">
<h5>Parameters</h5>
<h6><code><span title="System.float">float</span></code> a</h6>
<p class="comments">The first number </p>
<h6><code><span title="System.float">float</span></code> b</h6>
<p class="comments">The second number </p>
</div>
<div class="return">
<h5>Return</h5>
<h6><code><span title="System.bool">bool</span></code></h6>
<p>true if the two values differ by no more than 10 * 2^(-52); false otherwise. </p>
</div>
</div>
</div>
<div id="AlmostEqual" class="method">
<h4><span title="System.bool">bool</span> <strong>AlmostEqual</strong>(this <a href="../MathNet.Numerics/Complex32.htm">Complex32</a> a, <a href="../MathNet.Numerics/Complex32.htm">Complex32</a> b, <span title="System.int">int</span> decimalPlaces)</h4>
<div class="content">Compares two doubles and determines if they are equal to within the specified number of decimal places or not, using the
number of decimal places as an absolute measure.
<div class="parameters">
<h5>Parameters</h5>
<h6><code><a href="../MathNet.Numerics/Complex32.htm">Complex32</a></code> a</h6>
<p class="comments">The first value. </p>
<h6><code><a href="../MathNet.Numerics/Complex32.htm">Complex32</a></code> b</h6>
<p class="comments">The second value. </p>
<h6><code><span title="System.int">int</span></code> decimalPlaces</h6>
<p class="comments">The number of decimal places. </p>
</div>
</div>
</div>
<div id="AlmostEqual" class="method">
<h4><span title="System.bool">bool</span> <strong>AlmostEqual</strong>(this <span title="System.Numerics.Complex">Complex</span> a, <span title="System.Numerics.Complex">Complex</span> b, <span title="System.int">int</span> decimalPlaces)</h4>
<div class="content">Compares two doubles and determines if they are equal to within the specified number of decimal places or not, using the
number of decimal places as an absolute measure.
<div class="parameters">
<h5>Parameters</h5>
<h6><code><span title="System.Numerics.Complex">Complex</span></code> a</h6>
<p class="comments">The first value. </p>
<h6><code><span title="System.Numerics.Complex">Complex</span></code> b</h6>
<p class="comments">The second value. </p>
<h6><code><span title="System.int">int</span></code> decimalPlaces</h6>
<p class="comments">The number of decimal places. </p>
</div>
</div>
</div>
<div id="AlmostEqual``1" class="method">
<h4><span title="System.bool">bool</span> <strong>AlmostEqual&lt;T&gt;</strong>(this <a href="../MathNet.Numerics.LinearAlgebra/Vector`1.htm">Vector&lt;T&gt;</a> a, <a href="../MathNet.Numerics.LinearAlgebra/Vector`1.htm">Vector&lt;T&gt;</a> b, <span title="System.double">double</span> maximumAbsoluteError)</h4>
<div class="content">Compares two vectors and determines if they are equal within the specified maximum error.
<div class="parameters">
<h5>Parameters</h5>
<h6><code><a href="../MathNet.Numerics.LinearAlgebra/Vector`1.htm">Vector&lt;T&gt;</a></code> a</h6>
<p class="comments">The first value. </p>
<h6><code><a href="../MathNet.Numerics.LinearAlgebra/Vector`1.htm">Vector&lt;T&gt;</a></code> b</h6>
<p class="comments">The second value. </p>
<h6><code><span title="System.double">double</span></code> maximumAbsoluteError</h6>
<p class="comments">The accuracy required for being almost equal. </p>
</div>
</div>
</div>
<div id="AlmostEqual``1" class="method">
<h4><span title="System.bool">bool</span> <strong>AlmostEqual&lt;T&gt;</strong>(this <a href="../MathNet.Numerics.LinearAlgebra/Matrix`1.htm">Matrix&lt;T&gt;</a> a, <a href="../MathNet.Numerics.LinearAlgebra/Matrix`1.htm">Matrix&lt;T&gt;</a> b, <span title="System.double">double</span> maximumAbsoluteError)</h4>
<div class="content">Compares two matrices and determines if they are equal within the specified maximum error.
<div class="parameters">
<h5>Parameters</h5>
<h6><code><a href="../MathNet.Numerics.LinearAlgebra/Matrix`1.htm">Matrix&lt;T&gt;</a></code> a</h6>
<p class="comments">The first value. </p>
<h6><code><a href="../MathNet.Numerics.LinearAlgebra/Matrix`1.htm">Matrix&lt;T&gt;</a></code> b</h6>
<p class="comments">The second value. </p>
<h6><code><span title="System.double">double</span></code> maximumAbsoluteError</h6>
<p class="comments">The accuracy required for being almost equal. </p>
</div>
</div>
</div>
<div id="AlmostEqual``1" class="method">
<h4><span title="System.bool">bool</span> <strong>AlmostEqual&lt;T&gt;</strong>(this <a href="../MathNet.Numerics.LinearAlgebra/Vector`1.htm">Vector&lt;T&gt;</a> a, <a href="../MathNet.Numerics.LinearAlgebra/Vector`1.htm">Vector&lt;T&gt;</a> b, <span title="System.int">int</span> decimalPlaces)</h4>
<div class="content">Compares two vectors and determines if they are equal to within the specified number
of decimal places or not, using the number of decimal places as an absolute measure.
<div class="parameters">
<h5>Parameters</h5>
<h6><code><a href="../MathNet.Numerics.LinearAlgebra/Vector`1.htm">Vector&lt;T&gt;</a></code> a</h6>
<p class="comments">The first value. </p>
<h6><code><a href="../MathNet.Numerics.LinearAlgebra/Vector`1.htm">Vector&lt;T&gt;</a></code> b</h6>
<p class="comments">The second value. </p>
<h6><code><span title="System.int">int</span></code> decimalPlaces</h6>
<p class="comments">The number of decimal places. </p>
</div>
</div>
</div>
<div id="AlmostEqual``1" class="method">
<h4><span title="System.bool">bool</span> <strong>AlmostEqual&lt;T&gt;</strong>(this <a href="../MathNet.Numerics.LinearAlgebra/Matrix`1.htm">Matrix&lt;T&gt;</a> a, <a href="../MathNet.Numerics.LinearAlgebra/Matrix`1.htm">Matrix&lt;T&gt;</a> b, <span title="System.int">int</span> decimalPlaces)</h4>
<div class="content">Compares two matrices and determines if they are equal to within the specified number
of decimal places or not, using the number of decimal places as an absolute measure.
<div class="parameters">
<h5>Parameters</h5>
<h6><code><a href="../MathNet.Numerics.LinearAlgebra/Matrix`1.htm">Matrix&lt;T&gt;</a></code> a</h6>
<p class="comments">The first value. </p>
<h6><code><a href="../MathNet.Numerics.LinearAlgebra/Matrix`1.htm">Matrix&lt;T&gt;</a></code> b</h6>
<p class="comments">The second value. </p>
<h6><code><span title="System.int">int</span></code> decimalPlaces</h6>
<p class="comments">The number of decimal places. </p>
</div>
</div>
</div>
<div id="AlmostEqualNorm" class="method">
<h4><span title="System.bool">bool</span> <strong>AlmostEqualNorm</strong>(this <span title="System.double">double</span> a, <span title="System.double">double</span> b, <span title="System.double">double</span> diff, <span title="System.int">int</span> decimalPlaces)</h4>
<div class="content">Compares two doubles and determines if they are equal to within the specified number of decimal places or not, using the
number of decimal places as an absolute measure. <blockquote class="remarks">
<p>The values are equal if the difference between the two numbers is smaller than 0.5e-decimalPlaces. We divide by
two so that we have half the range on each side of the numbers, e.g. if <var>decimalPlaces</var> == 2, then 0.01 will equal between
0.005 and 0.015, but not 0.02 and not 0.00 </p>
</blockquote>
<div class="parameters">
<h5>Parameters</h5>
<h6><code><span title="System.double">double</span></code> a</h6>
<p class="comments">The norm of the first value (can be negative). </p>
<h6><code><span title="System.double">double</span></code> b</h6>
<p class="comments">The norm of the second value (can be negative). </p>
<h6><code><span title="System.double">double</span></code> diff</h6>
<p class="comments">The norm of the difference of the two values (can be negative). </p>
<h6><code><span title="System.int">int</span></code> decimalPlaces</h6>
<p class="comments">The number of decimal places. </p>
</div>
</div>
</div>
<div id="AlmostEqualNorm" class="method">
<h4><span title="System.bool">bool</span> <strong>AlmostEqualNorm</strong>(this <span title="System.double">double</span> a, <span title="System.double">double</span> b, <span title="System.double">double</span> diff, <span title="System.double">double</span> maximumAbsoluteError)</h4>
<div class="content">Compares two doubles and determines if they are equal
within the specified maximum absolute error.
<div class="parameters">
<h5>Parameters</h5>
<h6><code><span title="System.double">double</span></code> a</h6>
<p class="comments">The norm of the first value (can be negative). </p>
<h6><code><span title="System.double">double</span></code> b</h6>
<p class="comments">The norm of the second value (can be negative). </p>
<h6><code><span title="System.double">double</span></code> diff</h6>
<p class="comments">The norm of the difference of the two values (can be negative). </p>
<h6><code><span title="System.double">double</span></code> maximumAbsoluteError</h6>
<p class="comments">The absolute accuracy required for being almost equal. </p>
</div>
<div class="return">
<h5>Return</h5>
<h6><code><span title="System.bool">bool</span></code></h6>
<p>True if both doubles are almost equal up to the specified maximum absolute error, false otherwise. </p>
</div>
</div>
</div>
<div id="AlmostEqualNorm``1" class="method">
<h4><span title="System.bool">bool</span> <strong>AlmostEqualNorm&lt;T&gt;</strong>(this <span title="MathNet.Numerics.T">T</span> a, <span title="MathNet.Numerics.T">T</span> b, <span title="System.double">double</span> maximumAbsoluteError)</h4>
<div class="content">Compares two doubles and determines if they are equal
within the specified maximum absolute error.
<div class="parameters">
<h5>Parameters</h5>
<h6><code><span title="MathNet.Numerics.T">T</span></code> a</h6>
<p class="comments">The first value. </p>
<h6><code><span title="MathNet.Numerics.T">T</span></code> b</h6>
<p class="comments">The second value. </p>
<h6><code><span title="System.double">double</span></code> maximumAbsoluteError</h6>
<p class="comments">The absolute accuracy required for being almost equal. </p>
</div>
<div class="return">
<h5>Return</h5>
<h6><code><span title="System.bool">bool</span></code></h6>
<p>True if both doubles are almost equal up to the specified maximum absolute error, false otherwise. </p>
</div>
</div>
</div>
<div id="AlmostEqualNorm``1" class="method">
<h4><span title="System.bool">bool</span> <strong>AlmostEqualNorm&lt;T&gt;</strong>(this <span title="MathNet.Numerics.T">T</span> a, <span title="MathNet.Numerics.T">T</span> b, <span title="System.int">int</span> decimalPlaces)</h4>
<div class="content">Compares two doubles and determines if they are equal to within the specified number of decimal places or not, using the
number of decimal places as an absolute measure. <blockquote class="remarks">
<p>The values are equal if the difference between the two numbers is smaller than 0.5e-decimalPlaces. We divide by
two so that we have half the range on each side of the numbers, e.g. if <var>decimalPlaces</var> == 2, then 0.01 will equal between
0.005 and 0.015, but not 0.02 and not 0.00 </p>
</blockquote>
<div class="parameters">
<h5>Parameters</h5>
<h6><code><span title="MathNet.Numerics.T">T</span></code> a</h6>
<p class="comments">The first value. </p>
<h6><code><span title="MathNet.Numerics.T">T</span></code> b</h6>
<p class="comments">The second value. </p>
<h6><code><span title="System.int">int</span></code> decimalPlaces</h6>
<p class="comments">The number of decimal places. </p>
</div>
</div>
</div>
<div id="AlmostEqualNormRelative" class="method">
<h4><span title="System.bool">bool</span> <strong>AlmostEqualNormRelative</strong>(this <span title="System.double">double</span> a, <span title="System.double">double</span> b, <span title="System.double">double</span> diff, <span title="System.double">double</span> maximumError)</h4>
<div class="content">Compares two doubles and determines if they are equal
within the specified maximum error.
<div class="parameters">
<h5>Parameters</h5>
<h6><code><span title="System.double">double</span></code> a</h6>
<p class="comments">The norm of the first value (can be negative). </p>
<h6><code><span title="System.double">double</span></code> b</h6>
<p class="comments">The norm of the second value (can be negative). </p>
<h6><code><span title="System.double">double</span></code> diff</h6>
<p class="comments">The norm of the difference of the two values (can be negative). </p>
<h6><code><span title="System.double">double</span></code> maximumError</h6>
<p class="comments">The accuracy required for being almost equal. </p>
</div>
<div class="return">
<h5>Return</h5>
<h6><code><span title="System.bool">bool</span></code></h6>
<p>True if both doubles are almost equal up to the specified maximum error, false otherwise. </p>
</div>
</div>
</div>
<div id="AlmostEqualNormRelative" class="method">
<h4><span title="System.bool">bool</span> <strong>AlmostEqualNormRelative</strong>(this <span title="System.double">double</span> a, <span title="System.double">double</span> b, <span title="System.double">double</span> diff, <span title="System.int">int</span> decimalPlaces)</h4>
<div class="content">Compares two doubles and determines if they are equal to within the specified number of decimal places or not. If the numbers
are very close to zero an absolute difference is compared, otherwise the relative difference is compared. <blockquote class="remarks">
<p>The values are equal if the difference between the two numbers is smaller than 10^(-numberOfDecimalPlaces). We divide by
two so that we have half the range on each side of the numbers, e.g. if <var>decimalPlaces</var> == 2, then 0.01 will equal between
0.005 and 0.015, but not 0.02 and not 0.00 </p>
</blockquote>
<div class="parameters">
<h5>Parameters</h5>
<h6><code><span title="System.double">double</span></code> a</h6>
<p class="comments">The norm of the first value (can be negative). </p>
<h6><code><span title="System.double">double</span></code> b</h6>
<p class="comments">The norm of the second value (can be negative). </p>
<h6><code><span title="System.double">double</span></code> diff</h6>
<p class="comments">The norm of the difference of the two values (can be negative). </p>
<h6><code><span title="System.int">int</span></code> decimalPlaces</h6>
<p class="comments">The number of decimal places. </p>
</div>
</div>
</div>
<div id="AlmostEqualNormRelative``1" class="method">
<h4><span title="System.bool">bool</span> <strong>AlmostEqualNormRelative&lt;T&gt;</strong>(this <span title="MathNet.Numerics.T">T</span> a, <span title="MathNet.Numerics.T">T</span> b, <span title="System.double">double</span> maximumError)</h4>
<div class="content">Compares two doubles and determines if they are equal
within the specified maximum error.
<div class="parameters">
<h5>Parameters</h5>
<h6><code><span title="MathNet.Numerics.T">T</span></code> a</h6>
<p class="comments">The first value. </p>
<h6><code><span title="MathNet.Numerics.T">T</span></code> b</h6>
<p class="comments">The second value. </p>
<h6><code><span title="System.double">double</span></code> maximumError</h6>
<p class="comments">The accuracy required for being almost equal. </p>
</div>
<div class="return">
<h5>Return</h5>
<h6><code><span title="System.bool">bool</span></code></h6>
<p>True if both doubles are almost equal up to the specified maximum error, false otherwise. </p>
</div>
</div>
</div>
<div id="AlmostEqualNormRelative``1" class="method">
<h4><span title="System.bool">bool</span> <strong>AlmostEqualNormRelative&lt;T&gt;</strong>(this <span title="MathNet.Numerics.T">T</span> a, <span title="MathNet.Numerics.T">T</span> b, <span title="System.int">int</span> decimalPlaces)</h4>
<div class="content">Compares two doubles and determines if they are equal to within the specified number of decimal places or not. If the numbers
are very close to zero an absolute difference is compared, otherwise the relative difference is compared. <blockquote class="remarks">
<p>The values are equal if the difference between the two numbers is smaller than 10^(-numberOfDecimalPlaces). We divide by
two so that we have half the range on each side of the numbers, e.g. if <var>decimalPlaces</var> == 2, then 0.01 will equal between
0.005 and 0.015, but not 0.02 and not 0.00 </p>
</blockquote>
<div class="parameters">
<h5>Parameters</h5>
<h6><code><span title="MathNet.Numerics.T">T</span></code> a</h6>
<p class="comments">The first value. </p>
<h6><code><span title="MathNet.Numerics.T">T</span></code> b</h6>
<p class="comments">The second value. </p>
<h6><code><span title="System.int">int</span></code> decimalPlaces</h6>
<p class="comments">The number of decimal places. </p>
</div>
</div>
</div>
<div id="AlmostEqualNumbersBetween" class="method">
<h4><span title="System.bool">bool</span> <strong>AlmostEqualNumbersBetween</strong>(this <span title="System.float">float</span> a, <span title="System.float">float</span> b, <span title="System.int">int</span> maxNumbersBetween)</h4>
<div class="content">Compares two floats and determines if they are equal to within the tolerance or not. Equality comparison is based on the binary representation.
<div class="parameters">
<h5>Parameters</h5>
<h6><code><span title="System.float">float</span></code> a</h6>
<p class="comments">The first value. </p>
<h6><code><span title="System.float">float</span></code> b</h6>
<p class="comments">The second value. </p>
<h6><code><span title="System.int">int</span></code> maxNumbersBetween</h6>
<p class="comments">The maximum number of floating point values between the two values. Must be 1 or larger. </p>
</div>
</div>
</div>
<div id="AlmostEqualNumbersBetween" class="method">
<h4><span title="System.bool">bool</span> <strong>AlmostEqualNumbersBetween</strong>(this <span title="System.double">double</span> a, <span title="System.double">double</span> b, <span title="System.long">long</span> maxNumbersBetween)</h4>
<div class="content">Compares two doubles and determines if they are equal to within the tolerance or not. Equality comparison is based on the binary representation. <blockquote class="remarks">
<p>Determines the 'number' of floating point numbers between two values (i.e. the number of discrete steps
between the two numbers) and then checks if that is within the specified tolerance. So if a tolerance
of 1 is passed then the result will be true only if the two numbers have the same binary representation
OR if they are two adjacent numbers that only differ by one step. </p> <p>The comparison method used is explained in http://www.cygnus-software.com/papers/comparingfloats/comparingfloats.htm. The article
at http://www.extremeoptimization.com/resources/Articles/FPDotNetConceptsAndFormats.aspx explains how to transform the C code to
.NET enabled code without using pointers and unsafe code. </p>
</blockquote>
<div class="parameters">
<h5>Parameters</h5>
<h6><code><span title="System.double">double</span></code> a</h6>
<p class="comments">The first value. </p>
<h6><code><span title="System.double">double</span></code> b</h6>
<p class="comments">The second value. </p>
<h6><code><span title="System.long">long</span></code> maxNumbersBetween</h6>
<p class="comments">The maximum number of floating point values between the two values. Must be 1 or larger. </p>
</div>
</div>
</div>
<div id="AlmostEqualRelative" class="method">
<h4><span title="System.bool">bool</span> <strong>AlmostEqualRelative</strong>(this <a href="../MathNet.Numerics/Complex32.htm">Complex32</a> a, <a href="../MathNet.Numerics/Complex32.htm">Complex32</a> b, <span title="System.int">int</span> decimalPlaces)</h4>
<div class="content">Compares two doubles and determines if they are equal to within the specified number of decimal places or not. If the numbers
are very close to zero an absolute difference is compared, otherwise the relative difference is compared.
<div class="parameters">
<h5>Parameters</h5>
<h6><code><a href="../MathNet.Numerics/Complex32.htm">Complex32</a></code> a</h6>
<p class="comments">The first value. </p>
<h6><code><a href="../MathNet.Numerics/Complex32.htm">Complex32</a></code> b</h6>
<p class="comments">The second value. </p>
<h6><code><span title="System.int">int</span></code> decimalPlaces</h6>
<p class="comments">The number of decimal places. </p>
</div>
</div>
</div>
<div id="AlmostEqualRelative" class="method">
<h4><span title="System.bool">bool</span> <strong>AlmostEqualRelative</strong>(this <span title="System.Numerics.Complex">Complex</span> a, <span title="System.Numerics.Complex">Complex</span> b, <span title="System.int">int</span> decimalPlaces)</h4>
<div class="content">Compares two doubles and determines if they are equal to within the specified number of decimal places or not. If the numbers
are very close to zero an absolute difference is compared, otherwise the relative difference is compared.
<div class="parameters">
<h5>Parameters</h5>
<h6><code><span title="System.Numerics.Complex">Complex</span></code> a</h6>
<p class="comments">The first value. </p>
<h6><code><span title="System.Numerics.Complex">Complex</span></code> b</h6>
<p class="comments">The second value. </p>
<h6><code><span title="System.int">int</span></code> decimalPlaces</h6>
<p class="comments">The number of decimal places. </p>
</div>
</div>
</div>
<div id="AlmostEqualRelative" class="method">
<h4><span title="System.bool">bool</span> <strong>AlmostEqualRelative</strong>(this <span title="System.double">double</span> a, <span title="System.double">double</span> b, <span title="System.double">double</span> maximumError)</h4>
<div class="content">Compares two doubles and determines if they are equal within
the specified maximum error.
<div class="parameters">
<h5>Parameters</h5>
<h6><code><span title="System.double">double</span></code> a</h6>
<p class="comments">The first value. </p>
<h6><code><span title="System.double">double</span></code> b</h6>
<p class="comments">The second value. </p>
<h6><code><span title="System.double">double</span></code> maximumError</h6>
<p class="comments">The accuracy required for being almost equal. </p>
</div>
</div>
</div>
<div id="AlmostEqualRelative" class="method">
<h4><span title="System.bool">bool</span> <strong>AlmostEqualRelative</strong>(this <span title="System.Numerics.Complex">Complex</span> a, <span title="System.Numerics.Complex">Complex</span> b, <span title="System.double">double</span> maximumError)</h4>
<div class="content">Compares two complex and determines if they are equal within
the specified maximum error.
<div class="parameters">
<h5>Parameters</h5>
<h6><code><span title="System.Numerics.Complex">Complex</span></code> a</h6>
<p class="comments">The first value. </p>
<h6><code><span title="System.Numerics.Complex">Complex</span></code> b</h6>
<p class="comments">The second value. </p>
<h6><code><span title="System.double">double</span></code> maximumError</h6>
<p class="comments">The accuracy required for being almost equal. </p>
</div>
</div>
</div>
<div id="AlmostEqualRelative" class="method">
<h4><span title="System.bool">bool</span> <strong>AlmostEqualRelative</strong>(this <a href="../MathNet.Numerics/Complex32.htm">Complex32</a> a, <a href="../MathNet.Numerics/Complex32.htm">Complex32</a> b, <span title="System.double">double</span> maximumError)</h4>
<div class="content">Compares two complex and determines if they are equal within
the specified maximum error.
<div class="parameters">
<h5>Parameters</h5>
<h6><code><a href="../MathNet.Numerics/Complex32.htm">Complex32</a></code> a</h6>
<p class="comments">The first value. </p>
<h6><code><a href="../MathNet.Numerics/Complex32.htm">Complex32</a></code> b</h6>
<p class="comments">The second value. </p>
<h6><code><span title="System.double">double</span></code> maximumError</h6>
<p class="comments">The accuracy required for being almost equal. </p>
</div>
</div>
</div>
<div id="AlmostEqualRelative" class="method">
<h4><span title="System.bool">bool</span> <strong>AlmostEqualRelative</strong>(this <span title="System.float">float</span> a, <span title="System.float">float</span> b, <span title="System.int">int</span> decimalPlaces)</h4>
<div class="content">Compares two doubles and determines if they are equal to within the specified number of decimal places or not. If the numbers
are very close to zero an absolute difference is compared, otherwise the relative difference is compared.
<div class="parameters">
<h5>Parameters</h5>
<h6><code><span title="System.float">float</span></code> a</h6>
<p class="comments">The first value. </p>
<h6><code><span title="System.float">float</span></code> b</h6>
<p class="comments">The second value. </p>
<h6><code><span title="System.int">int</span></code> decimalPlaces</h6>
<p class="comments">The number of decimal places. </p>
</div>
</div>
</div>
<div id="AlmostEqualRelative" class="method">
<h4><span title="System.bool">bool</span> <strong>AlmostEqualRelative</strong>(this <span title="System.double">double</span> a, <span title="System.double">double</span> b, <span title="System.int">int</span> decimalPlaces)</h4>
<div class="content">Compares two doubles and determines if they are equal to within the specified number of decimal places or not. If the numbers
are very close to zero an absolute difference is compared, otherwise the relative difference is compared.
<div class="parameters">
<h5>Parameters</h5>
<h6><code><span title="System.double">double</span></code> a</h6>
<p class="comments">The first value. </p>
<h6><code><span title="System.double">double</span></code> b</h6>
<p class="comments">The second value. </p>
<h6><code><span title="System.int">int</span></code> decimalPlaces</h6>
<p class="comments">The number of decimal places. </p>
</div>
</div>
</div>
<div id="AlmostEqualRelative" class="method">
<h4><span title="System.bool">bool</span> <strong>AlmostEqualRelative</strong>(this <span title="System.double">double</span> a, <span title="System.double">double</span> b)</h4>
<div class="content">Checks whether two real numbers are almost equal.
<div class="parameters">
<h5>Parameters</h5>
<h6><code><span title="System.double">double</span></code> a</h6>
<p class="comments">The first number </p>
<h6><code><span title="System.double">double</span></code> b</h6>
<p class="comments">The second number </p>
</div>
<div class="return">
<h5>Return</h5>
<h6><code><span title="System.bool">bool</span></code></h6>
<p>true if the two values differ by no more than 10 * 2^(-52); false otherwise. </p>
</div>
</div>
</div>
<div id="AlmostEqualRelative" class="method">
<h4><span title="System.bool">bool</span> <strong>AlmostEqualRelative</strong>(this <span title="System.float">float</span> a, <span title="System.float">float</span> b)</h4>
<div class="content">Checks whether two real numbers are almost equal.
<div class="parameters">
<h5>Parameters</h5>
<h6><code><span title="System.float">float</span></code> a</h6>
<p class="comments">The first number </p>
<h6><code><span title="System.float">float</span></code> b</h6>
<p class="comments">The second number </p>
</div>
<div class="return">
<h5>Return</h5>
<h6><code><span title="System.bool">bool</span></code></h6>
<p>true if the two values differ by no more than 10 * 2^(-52); false otherwise. </p>
</div>
</div>
</div>
<div id="AlmostEqualRelative" class="method">
<h4><span title="System.bool">bool</span> <strong>AlmostEqualRelative</strong>(this <span title="System.Numerics.Complex">Complex</span> a, <span title="System.Numerics.Complex">Complex</span> b)</h4>
<div class="content">Checks whether two Complex numbers are almost equal.
<div class="parameters">
<h5>Parameters</h5>
<h6><code><span title="System.Numerics.Complex">Complex</span></code> a</h6>
<p class="comments">The first number </p>
<h6><code><span title="System.Numerics.Complex">Complex</span></code> b</h6>
<p class="comments">The second number </p>
</div>
<div class="return">
<h5>Return</h5>
<h6><code><span title="System.bool">bool</span></code></h6>
<p>true if the two values differ by no more than 10 * 2^(-52); false otherwise. </p>
</div>
</div>
</div>
<div id="AlmostEqualRelative" class="method">
<h4><span title="System.bool">bool</span> <strong>AlmostEqualRelative</strong>(this <span title="System.float">float</span> a, <span title="System.float">float</span> b, <span title="System.double">double</span> maximumError)</h4>
<div class="content">Compares two complex and determines if they are equal within
the specified maximum error.
<div class="parameters">
<h5>Parameters</h5>
<h6><code><span title="System.float">float</span></code> a</h6>
<p class="comments">The first value. </p>
<h6><code><span title="System.float">float</span></code> b</h6>
<p class="comments">The second value. </p>
<h6><code><span title="System.double">double</span></code> maximumError</h6>
<p class="comments">The accuracy required for being almost equal. </p>
</div>
</div>
</div>
<div id="AlmostEqualRelative" class="method">
<h4><span title="System.bool">bool</span> <strong>AlmostEqualRelative</strong>(this <a href="../MathNet.Numerics/Complex32.htm">Complex32</a> a, <a href="../MathNet.Numerics/Complex32.htm">Complex32</a> b)</h4>
<div class="content">Checks whether two Complex numbers are almost equal.
<div class="parameters">
<h5>Parameters</h5>
<h6><code><a href="../MathNet.Numerics/Complex32.htm">Complex32</a></code> a</h6>
<p class="comments">The first number </p>
<h6><code><a href="../MathNet.Numerics/Complex32.htm">Complex32</a></code> b</h6>
<p class="comments">The second number </p>
</div>
<div class="return">
<h5>Return</h5>
<h6><code><span title="System.bool">bool</span></code></h6>
<p>true if the two values differ by no more than 10 * 2^(-52); false otherwise. </p>
</div>
</div>
</div>
<div id="AlmostEqualRelative``1" class="method">
<h4><span title="System.bool">bool</span> <strong>AlmostEqualRelative&lt;T&gt;</strong>(this <a href="../MathNet.Numerics.LinearAlgebra/Vector`1.htm">Vector&lt;T&gt;</a> a, <a href="../MathNet.Numerics.LinearAlgebra/Vector`1.htm">Vector&lt;T&gt;</a> b, <span title="System.double">double</span> maximumError)</h4>
<div class="content">Compares two vectors and determines if they are equal within the specified maximum error.
<div class="parameters">
<h5>Parameters</h5>
<h6><code><a href="../MathNet.Numerics.LinearAlgebra/Vector`1.htm">Vector&lt;T&gt;</a></code> a</h6>
<p class="comments">The first value. </p>
<h6><code><a href="../MathNet.Numerics.LinearAlgebra/Vector`1.htm">Vector&lt;T&gt;</a></code> b</h6>
<p class="comments">The second value. </p>
<h6><code><span title="System.double">double</span></code> maximumError</h6>
<p class="comments">The accuracy required for being almost equal. </p>
</div>
</div>
</div>
<div id="AlmostEqualRelative``1" class="method">
<h4><span title="System.bool">bool</span> <strong>AlmostEqualRelative&lt;T&gt;</strong>(this <a href="../MathNet.Numerics.LinearAlgebra/Matrix`1.htm">Matrix&lt;T&gt;</a> a, <a href="../MathNet.Numerics.LinearAlgebra/Matrix`1.htm">Matrix&lt;T&gt;</a> b, <span title="System.int">int</span> decimalPlaces)</h4>
<div class="content">Compares two matrices and determines if they are equal to within the specified number of decimal places or not.
If the numbers are very close to zero an absolute difference is compared, otherwise the relative difference is compared.
<div class="parameters">
<h5>Parameters</h5>
<h6><code><a href="../MathNet.Numerics.LinearAlgebra/Matrix`1.htm">Matrix&lt;T&gt;</a></code> a</h6>
<p class="comments">The first value. </p>
<h6><code><a href="../MathNet.Numerics.LinearAlgebra/Matrix`1.htm">Matrix&lt;T&gt;</a></code> b</h6>
<p class="comments">The second value. </p>
<h6><code><span title="System.int">int</span></code> decimalPlaces</h6>
<p class="comments">The number of decimal places. </p>
</div>
</div>
</div>
<div id="AlmostEqualRelative``1" class="method">
<h4><span title="System.bool">bool</span> <strong>AlmostEqualRelative&lt;T&gt;</strong>(this <a href="../MathNet.Numerics.LinearAlgebra/Matrix`1.htm">Matrix&lt;T&gt;</a> a, <a href="../MathNet.Numerics.LinearAlgebra/Matrix`1.htm">Matrix&lt;T&gt;</a> b, <span title="System.double">double</span> maximumError)</h4>
<div class="content">Compares two matrices and determines if they are equal within the specified maximum error.
<div class="parameters">
<h5>Parameters</h5>
<h6><code><a href="../MathNet.Numerics.LinearAlgebra/Matrix`1.htm">Matrix&lt;T&gt;</a></code> a</h6>
<p class="comments">The first value. </p>
<h6><code><a href="../MathNet.Numerics.LinearAlgebra/Matrix`1.htm">Matrix&lt;T&gt;</a></code> b</h6>
<p class="comments">The second value. </p>
<h6><code><span title="System.double">double</span></code> maximumError</h6>
<p class="comments">The accuracy required for being almost equal. </p>
</div>
</div>
</div>
<div id="AlmostEqualRelative``1" class="method">
<h4><span title="System.bool">bool</span> <strong>AlmostEqualRelative&lt;T&gt;</strong>(this <a href="../MathNet.Numerics.LinearAlgebra/Vector`1.htm">Vector&lt;T&gt;</a> a, <a href="../MathNet.Numerics.LinearAlgebra/Vector`1.htm">Vector&lt;T&gt;</a> b, <span title="System.int">int</span> decimalPlaces)</h4>
<div class="content">Compares two vectors and determines if they are equal to within the specified number of decimal places or not.
If the numbers are very close to zero an absolute difference is compared, otherwise the relative difference is compared.
<div class="parameters">
<h5>Parameters</h5>
<h6><code><a href="../MathNet.Numerics.LinearAlgebra/Vector`1.htm">Vector&lt;T&gt;</a></code> a</h6>
<p class="comments">The first value. </p>
<h6><code><a href="../MathNet.Numerics.LinearAlgebra/Vector`1.htm">Vector&lt;T&gt;</a></code> b</h6>
<p class="comments">The second value. </p>
<h6><code><span title="System.int">int</span></code> decimalPlaces</h6>
<p class="comments">The number of decimal places. </p>
</div>
</div>
</div>
<div id="CoerceZero" class="method">
<h4><span title="System.double">double</span> <strong>CoerceZero</strong>(this <span title="System.double">double</span> a, <span title="System.long">long</span> maxNumbersBetween)</h4>
<div class="content">Forces small numbers near zero to zero, according to the specified absolute accuracy.
<div class="parameters">
<h5>Parameters</h5>
<h6><code><span title="System.double">double</span></code> a</h6>
<p class="comments">The real number to coerce to zero, if it is almost zero. </p>
<h6><code><span title="System.long">long</span></code> maxNumbersBetween</h6>
<p class="comments">The maximum count of numbers between the zero and the number <var>a</var>. </p>
</div>
<div class="return">
<h5>Return</h5>
<h6><code><span title="System.double">double</span></code></h6>
<p>Zero if | <var>a</var> | is fewer than <var>maxNumbersBetween</var> numbers from zero, <var>a</var> otherwise. </p>
</div>
</div>
</div>
<div id="CoerceZero" class="method">
<h4><span title="System.double">double</span> <strong>CoerceZero</strong>(this <span title="System.double">double</span> a, <span title="System.int">int</span> maxNumbersBetween)</h4>
<div class="content">Forces small numbers near zero to zero, according to the specified absolute accuracy.
<div class="parameters">
<h5>Parameters</h5>
<h6><code><span title="System.double">double</span></code> a</h6>
<p class="comments">The real number to coerce to zero, if it is almost zero. </p>
<h6><code><span title="System.int">int</span></code> maxNumbersBetween</h6>
<p class="comments">The maximum count of numbers between the zero and the number <var>a</var>. </p>
</div>
<div class="return">
<h5>Return</h5>
<h6><code><span title="System.double">double</span></code></h6>
<p>Zero if | <var>a</var> | is fewer than <var>maxNumbersBetween</var> numbers from zero, <var>a</var> otherwise. </p>
</div>
</div>
</div>
<div id="CoerceZero" class="method">
<h4><span title="System.double">double</span> <strong>CoerceZero</strong>(this <span title="System.double">double</span> a, <span title="System.double">double</span> maximumAbsoluteError)</h4>
<div class="content">Forces small numbers near zero to zero, according to the specified absolute accuracy.
<div class="parameters">
<h5>Parameters</h5>
<h6><code><span title="System.double">double</span></code> a</h6>
<p class="comments">The real number to coerce to zero, if it is almost zero. </p>
<h6><code><span title="System.double">double</span></code> maximumAbsoluteError</h6>
<p class="comments">The absolute threshold for <var>a</var> to consider it as zero. </p>
</div>
<div class="return">
<h5>Return</h5>
<h6><code><span title="System.double">double</span></code></h6>
<p>Zero if | <var>a</var> | is smaller than <var>maximumAbsoluteError</var> , <var>a</var> otherwise. </p>
</div>
</div>
</div>
<div id="CoerceZero" class="method">
<h4><span title="System.double">double</span> <strong>CoerceZero</strong>(this <span title="System.double">double</span> a)</h4>
<div class="content">Forces small numbers near zero to zero.
<div class="parameters">
<h5>Parameters</h5>
<h6><code><span title="System.double">double</span></code> a</h6>
<p class="comments">The real number to coerce to zero, if it is almost zero. </p>
</div>
<div class="return">
<h5>Return</h5>
<h6><code><span title="System.double">double</span></code></h6>
<p>Zero if | <var>a</var> | is smaller than 2^(-53) = 1.11e-16, <var>a</var> otherwise. </p>
</div>
</div>
</div>
<div id="CompareTo" class="method">
<h4><span title="System.int">int</span> <strong>CompareTo</strong>(this <span title="System.double">double</span> a, <span title="System.double">double</span> b, <span title="System.double">double</span> maximumAbsoluteError)</h4>
<div class="content">Compares two doubles and determines which double is bigger.
a < b -> -1; a ~= b (almost equal according to parameter) -> 0; a > b -> +1.
<div class="parameters">
<h5>Parameters</h5>
<h6><code><span title="System.double">double</span></code> a</h6>
<p class="comments">The first value. </p>
<h6><code><span title="System.double">double</span></code> b</h6>
<p class="comments">The second value. </p>
<h6><code><span title="System.double">double</span></code> maximumAbsoluteError</h6>
<p class="comments">The absolute accuracy required for being almost equal. </p>
</div>
</div>
</div>
<div id="CompareTo" class="method">
<h4><span title="System.int">int</span> <strong>CompareTo</strong>(this <span title="System.double">double</span> a, <span title="System.double">double</span> b, <span title="System.int">int</span> decimalPlaces)</h4>
<div class="content">Compares two doubles and determines which double is bigger.
a < b -> -1; a ~= b (almost equal according to parameter) -> 0; a > b -> +1.
<div class="parameters">
<h5>Parameters</h5>
<h6><code><span title="System.double">double</span></code> a</h6>
<p class="comments">The first value. </p>
<h6><code><span title="System.double">double</span></code> b</h6>
<p class="comments">The second value. </p>
<h6><code><span title="System.int">int</span></code> decimalPlaces</h6>
<p class="comments">The number of decimal places on which the values must be compared. Must be 1 or larger. </p>
</div>
</div>
</div>
<div id="CompareToNumbersBetween" class="method">
<h4><span title="System.int">int</span> <strong>CompareToNumbersBetween</strong>(this <span title="System.double">double</span> a, <span title="System.double">double</span> b, <span title="System.long">long</span> maxNumbersBetween)</h4>
<div class="content">Compares two doubles and determines which double is bigger.
a < b -> -1; a ~= b (almost equal according to parameter) -> 0; a > b -> +1.
<div class="parameters">
<h5>Parameters</h5>
<h6><code><span title="System.double">double</span></code> a</h6>
<p class="comments">The first value. </p>
<h6><code><span title="System.double">double</span></code> b</h6>
<p class="comments">The second value. </p>
<h6><code><span title="System.long">long</span></code> maxNumbersBetween</h6>
<p class="comments">The maximum error in terms of Units in Last Place ( <code>ulps</code> ), i.e. the maximum number of decimals that may be different. Must be 1 or larger. </p>
</div>
</div>
</div>
<div id="CompareToRelative" class="method">
<h4><span title="System.int">int</span> <strong>CompareToRelative</strong>(this <span title="System.double">double</span> a, <span title="System.double">double</span> b, <span title="System.double">double</span> maximumError)</h4>
<div class="content">Compares two doubles and determines which double is bigger.
a < b -> -1; a ~= b (almost equal according to parameter) -> 0; a > b -> +1.
<div class="parameters">
<h5>Parameters</h5>
<h6><code><span title="System.double">double</span></code> a</h6>
<p class="comments">The first value. </p>
<h6><code><span title="System.double">double</span></code> b</h6>
<p class="comments">The second value. </p>
<h6><code><span title="System.double">double</span></code> maximumError</h6>
<p class="comments">The relative accuracy required for being almost equal. </p>
</div>
</div>
</div>
<div id="CompareToRelative" class="method">
<h4><span title="System.int">int</span> <strong>CompareToRelative</strong>(this <span title="System.double">double</span> a, <span title="System.double">double</span> b, <span title="System.int">int</span> decimalPlaces)</h4>
<div class="content">Compares two doubles and determines which double is bigger.
a < b -> -1; a ~= b (almost equal according to parameter) -> 0; a > b -> +1.
<div class="parameters">
<h5>Parameters</h5>
<h6><code><span title="System.double">double</span></code> a</h6>
<p class="comments">The first value. </p>
<h6><code><span title="System.double">double</span></code> b</h6>
<p class="comments">The second value. </p>
<h6><code><span title="System.int">int</span></code> decimalPlaces</h6>
<p class="comments">The number of decimal places on which the values must be compared. Must be 1 or larger. </p>
</div>
</div>
</div>
<div id="Decrement" class="method">
<h4><span title="System.double">double</span> <strong>Decrement</strong>(this <span title="System.double">double</span> value, <span title="System.int">int</span> count)</h4>
<div class="content">Decrements a floating point number to the next smaller number representable by the data type. <blockquote class="remarks">
The decrementation step length depends on the provided value.
Decrement(double.MinValue) will return negative infinity.
</blockquote>
<div class="parameters">
<h5>Parameters</h5>
<h6><code><span title="System.double">double</span></code> value</h6>
<p class="comments">The value which should be decremented. </p>
<h6><code><span title="System.int">int</span></code> count</h6>
<p class="comments">How many times the number should be decremented. </p>
</div>
<div class="return">
<h5>Return</h5>
<h6><code><span title="System.double">double</span></code></h6>
<p>The next smaller floating point value. </p>
</div>
</div>
</div>
<div id="EpsilonOf" class="method">
<h4><span title="System.double">double</span> <strong>EpsilonOf</strong>(this <span title="System.double">double</span> value)</h4>
<div class="content">Evaluates the minimum distance to the next distinguishable number near the argument value. <blockquote class="remarks">
Evaluates the epsilon. The more common positive epsilon is equal to two times this negative epsilon.
</blockquote>
<div class="parameters">
<h5>Parameters</h5>
<h6><code><span title="System.double">double</span></code> value</h6>
<p class="comments">The value used to determine the minimum distance. </p>
</div>
<div class="return">
<h5>Return</h5>
<h6><code><span title="System.double">double</span></code></h6>
<p>Relative Epsilon (positive double or NaN). </p>
</div>
</div>
</div>
<div id="EpsilonOf" class="method">
<h4><span title="System.float">float</span> <strong>EpsilonOf</strong>(this <span title="System.float">float</span> value)</h4>
<div class="content">Evaluates the minimum distance to the next distinguishable number near the argument value. <blockquote class="remarks">
Evaluates the epsilon. The more common positive epsilon is equal to two times this negative epsilon.
</blockquote>
<div class="parameters">
<h5>Parameters</h5>
<h6><code><span title="System.float">float</span></code> value</h6>
<p class="comments">The value used to determine the minimum distance. </p>
</div>
<div class="return">
<h5>Return</h5>
<h6><code><span title="System.float">float</span></code></h6>
<p>Relative Epsilon (positive float or NaN). </p>
</div>
</div>
</div>
<div id="Increment" class="method">
<h4><span title="System.double">double</span> <strong>Increment</strong>(this <span title="System.double">double</span> value, <span title="System.int">int</span> count)</h4>
<div class="content">Increments a floating point number to the next bigger number representable by the data type. <blockquote class="remarks">
The incrementation step length depends on the provided value.
Increment(double.MaxValue) will return positive infinity.
</blockquote>
<div class="parameters">
<h5>Parameters</h5>
<h6><code><span title="System.double">double</span></code> value</h6>
<p class="comments">The value which needs to be incremented. </p>
<h6><code><span title="System.int">int</span></code> count</h6>
<p class="comments">How many times the number should be incremented. </p>
</div>
<div class="return">
<h5>Return</h5>
<h6><code><span title="System.double">double</span></code></h6>
<p>The next larger floating point value. </p>
</div>
</div>
</div>
<div id="IsFinite" class="method">
<h4><span title="System.bool">bool</span> <strong>IsFinite</strong>(this <span title="System.double">double</span> value)</h4>
<div class="content">Checks if a given double values is finite, i.e. neither NaN nor inifnity
<div class="parameters">
<h5>Parameters</h5>
<h6><code><span title="System.double">double</span></code> value</h6>
<p class="comments">The value to be checked fo finitenes. </p>
</div>
</div>
</div>
<div id="IsLarger" class="method">
<h4><span title="System.bool">bool</span> <strong>IsLarger</strong>(this <span title="System.float">float</span> a, <span title="System.float">float</span> b, <span title="System.double">double</span> maximumAbsoluteError)</h4>
<div class="content">Compares two doubles and determines if the <code>first</code> value is larger than the <code>second</code> value to within the specified number of decimal places or not.
<div class="parameters">
<h5>Parameters</h5>
<h6><code><span title="System.float">float</span></code> a</h6>
<p class="comments">The first value. </p>
<h6><code><span title="System.float">float</span></code> b</h6>
<p class="comments">The second value. </p>
<h6><code><span title="System.double">double</span></code> maximumAbsoluteError</h6>
<p class="comments">The absolute accuracy required for being almost equal. </p>
</div>
<div class="return">
<h5>Return</h5>
<h6><code><span title="System.bool">bool</span></code></h6>
<p><code>true</code> if the first value is larger than the second value; otherwise <code>false</code>. </p>
</div>
</div>
</div>
<div id="IsLarger" class="method">
<h4><span title="System.bool">bool</span> <strong>IsLarger</strong>(this <span title="System.float">float</span> a, <span title="System.float">float</span> b, <span title="System.int">int</span> decimalPlaces)</h4>
<div class="content">Compares two doubles and determines if the <code>first</code> value is larger than the <code>second</code> value to within the specified number of decimal places or not. <blockquote class="remarks">
<p>The values are equal if the difference between the two numbers is smaller than 10^(-numberOfDecimalPlaces). We divide by
two so that we have half the range on each side of the numbers, e.g. if <var>decimalPlaces</var> == 2, then 0.01 will equal between
0.005 and 0.015, but not 0.02 and not 0.00 </p>
</blockquote>
<div class="parameters">
<h5>Parameters</h5>
<h6><code><span title="System.float">float</span></code> a</h6>
<p class="comments">The first value. </p>
<h6><code><span title="System.float">float</span></code> b</h6>
<p class="comments">The second value. </p>
<h6><code><span title="System.int">int</span></code> decimalPlaces</h6>
<p class="comments">The number of decimal places. </p>
</div>
<div class="return">
<h5>Return</h5>
<h6><code><span title="System.bool">bool</span></code></h6>
<p><code>true</code> if the first value is larger than the second value; otherwise <code>false</code>. </p>
</div>
</div>
</div>
<div id="IsLarger" class="method">
<h4><span title="System.bool">bool</span> <strong>IsLarger</strong>(this <span title="System.double">double</span> a, <span title="System.double">double</span> b, <span title="System.int">int</span> decimalPlaces)</h4>
<div class="content">Compares two doubles and determines if the <code>first</code> value is larger than the <code>second</code> value to within the specified number of decimal places or not. <blockquote class="remarks">
<p>The values are equal if the difference between the two numbers is smaller than 10^(-numberOfDecimalPlaces). We divide by
two so that we have half the range on each side of the numbers, e.g. if <var>decimalPlaces</var> == 2, then 0.01 will equal between
0.005 and 0.015, but not 0.02 and not 0.00 </p>
</blockquote>
<div class="parameters">
<h5>Parameters</h5>
<h6><code><span title="System.double">double</span></code> a</h6>
<p class="comments">The first value. </p>
<h6><code><span title="System.double">double</span></code> b</h6>
<p class="comments">The second value. </p>
<h6><code><span title="System.int">int</span></code> decimalPlaces</h6>
<p class="comments">The number of decimal places. </p>
</div>
<div class="return">
<h5>Return</h5>
<h6><code><span title="System.bool">bool</span></code></h6>
<p><code>true</code> if the first value is larger than the second value; otherwise <code>false</code>. </p>
</div>
</div>
</div>
<div id="IsLarger" class="method">
<h4><span title="System.bool">bool</span> <strong>IsLarger</strong>(this <span title="System.double">double</span> a, <span title="System.double">double</span> b, <span title="System.double">double</span> maximumAbsoluteError)</h4>
<div class="content">Compares two doubles and determines if the <code>first</code> value is larger than the <code>second</code> value to within the specified number of decimal places or not.
<div class="parameters">
<h5>Parameters</h5>
<h6><code><span title="System.double">double</span></code> a</h6>
<p class="comments">The first value. </p>
<h6><code><span title="System.double">double</span></code> b</h6>
<p class="comments">The second value. </p>
<h6><code><span title="System.double">double</span></code> maximumAbsoluteError</h6>
<p class="comments">The absolute accuracy required for being almost equal. </p>
</div>
<div class="return">
<h5>Return</h5>
<h6><code><span title="System.bool">bool</span></code></h6>
<p><code>true</code> if the first value is larger than the second value; otherwise <code>false</code>. </p>
</div>
</div>
</div>
<div id="IsLargerNumbersBetween" class="method">
<h4><span title="System.bool">bool</span> <strong>IsLargerNumbersBetween</strong>(this <span title="System.double">double</span> a, <span title="System.double">double</span> b, <span title="System.long">long</span> maxNumbersBetween)</h4>
<div class="content">Compares two doubles and determines if the <code>first</code> value is larger than the <code>second</code> value to within the tolerance or not. Equality comparison is based on the binary representation.
<div class="parameters">
<h5>Parameters</h5>
<h6><code><span title="System.double">double</span></code> a</h6>
<p class="comments">The first value. </p>
<h6><code><span title="System.double">double</span></code> b</h6>
<p class="comments">The second value. </p>
<h6><code><span title="System.long">long</span></code> maxNumbersBetween</h6>
<p class="comments">The maximum number of floating point values for which the two values are considered equal. Must be 1 or larger. </p>
</div>
<div class="return">
<h5>Return</h5>
<h6><code><span title="System.bool">bool</span></code></h6>
<p><code>true</code> if the first value is larger than the second value; otherwise <code>false</code>. </p>
</div>
</div>
</div>
<div id="IsLargerNumbersBetween" class="method">
<h4><span title="System.bool">bool</span> <strong>IsLargerNumbersBetween</strong>(this <span title="System.float">float</span> a, <span title="System.float">float</span> b, <span title="System.long">long</span> maxNumbersBetween)</h4>
<div class="content">Compares two doubles and determines if the <code>first</code> value is larger than the <code>second</code> value to within the tolerance or not. Equality comparison is based on the binary representation.
<div class="parameters">
<h5>Parameters</h5>
<h6><code><span title="System.float">float</span></code> a</h6>
<p class="comments">The first value. </p>
<h6><code><span title="System.float">float</span></code> b</h6>
<p class="comments">The second value. </p>
<h6><code><span title="System.long">long</span></code> maxNumbersBetween</h6>
<p class="comments">The maximum number of floating point values for which the two values are considered equal. Must be 1 or larger. </p>
</div>
<div class="return">
<h5>Return</h5>
<h6><code><span title="System.bool">bool</span></code></h6>
<p><code>true</code> if the first value is larger than the second value; otherwise <code>false</code>. </p>
</div>
</div>
</div>
<div id="IsLargerRelative" class="method">
<h4><span title="System.bool">bool</span> <strong>IsLargerRelative</strong>(this <span title="System.float">float</span> a, <span title="System.float">float</span> b, <span title="System.int">int</span> decimalPlaces)</h4>
<div class="content">Compares two doubles and determines if the <code>first</code> value is larger than the <code>second</code> value to within the specified number of decimal places or not. <blockquote class="remarks">
<p>The values are equal if the difference between the two numbers is smaller than 10^(-numberOfDecimalPlaces). We divide by
two so that we have half the range on each side of the numbers, e.g. if <var>decimalPlaces</var> == 2, then 0.01 will equal between
0.005 and 0.015, but not 0.02 and not 0.00 </p>
</blockquote>
<div class="parameters">
<h5>Parameters</h5>
<h6><code><span title="System.float">float</span></code> a</h6>
<p class="comments">The first value. </p>
<h6><code><span title="System.float">float</span></code> b</h6>
<p class="comments">The second value. </p>
<h6><code><span title="System.int">int</span></code> decimalPlaces</h6>
<p class="comments">The number of decimal places. </p>
</div>
<div class="return">
<h5>Return</h5>
<h6><code><span title="System.bool">bool</span></code></h6>
<p><code>true</code> if the first value is larger than the second value; otherwise <code>false</code>. </p>
</div>
</div>
</div>
<div id="IsLargerRelative" class="method">
<h4><span title="System.bool">bool</span> <strong>IsLargerRelative</strong>(this <span title="System.double">double</span> a, <span title="System.double">double</span> b, <span title="System.double">double</span> maximumError)</h4>
<div class="content">Compares two doubles and determines if the <code>first</code> value is larger than the <code>second</code> value to within the specified number of decimal places or not.
<div class="parameters">
<h5>Parameters</h5>
<h6><code><span title="System.double">double</span></code> a</h6>
<p class="comments">The first value. </p>
<h6><code><span title="System.double">double</span></code> b</h6>
<p class="comments">The second value. </p>
<h6><code><span title="System.double">double</span></code> maximumError</h6>
<p class="comments">The relative accuracy required for being almost equal. </p>
</div>
<div class="return">
<h5>Return</h5>
<h6><code><span title="System.bool">bool</span></code></h6>
<p><code>true</code> if the first value is larger than the second value; otherwise <code>false</code>. </p>
</div>
</div>
</div>
<div id="IsLargerRelative" class="method">
<h4><span title="System.bool">bool</span> <strong>IsLargerRelative</strong>(this <span title="System.float">float</span> a, <span title="System.float">float</span> b, <span title="System.double">double</span> maximumError)</h4>
<div class="content">Compares two doubles and determines if the <code>first</code> value is larger than the <code>second</code> value to within the specified number of decimal places or not.
<div class="parameters">
<h5>Parameters</h5>
<h6><code><span title="System.float">float</span></code> a</h6>
<p class="comments">The first value. </p>
<h6><code><span title="System.float">float</span></code> b</h6>
<p class="comments">The second value. </p>
<h6><code><span title="System.double">double</span></code> maximumError</h6>
<p class="comments">The relative accuracy required for being almost equal. </p>
</div>
<div class="return">
<h5>Return</h5>
<h6><code><span title="System.bool">bool</span></code></h6>
<p><code>true</code> if the first value is larger than the second value; otherwise <code>false</code>. </p>
</div>
</div>
</div>
<div id="IsLargerRelative" class="method">
<h4><span title="System.bool">bool</span> <strong>IsLargerRelative</strong>(this <span title="System.double">double</span> a, <span title="System.double">double</span> b, <span title="System.int">int</span> decimalPlaces)</h4>
<div class="content">Compares two doubles and determines if the <code>first</code> value is larger than the <code>second</code> value to within the specified number of decimal places or not. <blockquote class="remarks">
<p>The values are equal if the difference between the two numbers is smaller than 10^(-numberOfDecimalPlaces). We divide by
two so that we have half the range on each side of the numbers, e.g. if <var>decimalPlaces</var> == 2, then 0.01 will equal between
0.005 and 0.015, but not 0.02 and not 0.00 </p>
</blockquote>
<div class="parameters">
<h5>Parameters</h5>
<h6><code><span title="System.double">double</span></code> a</h6>
<p class="comments">The first value. </p>
<h6><code><span title="System.double">double</span></code> b</h6>
<p class="comments">The second value. </p>
<h6><code><span title="System.int">int</span></code> decimalPlaces</h6>
<p class="comments">The number of decimal places. </p>
</div>
<div class="return">
<h5>Return</h5>
<h6><code><span title="System.bool">bool</span></code></h6>
<p><code>true</code> if the first value is larger than the second value; otherwise <code>false</code>. </p>
</div>
</div>
</div>
<div id="IsSmaller" class="method">
<h4><span title="System.bool">bool</span> <strong>IsSmaller</strong>(this <span title="System.double">double</span> a, <span title="System.double">double</span> b, <span title="System.int">int</span> decimalPlaces)</h4>
<div class="content">Compares two doubles and determines if the <code>first</code> value is smaller than the <code>second</code> value to within the specified number of decimal places or not. <blockquote class="remarks">
<p>The values are equal if the difference between the two numbers is smaller than 10^(-numberOfDecimalPlaces). We divide by
two so that we have half the range on each side of th <var>decimalPlaces</var> g. if <var>decimalPlaces</var> == 2, then 0.01 will equal between
0.005 and 0.015, but not 0.02 and not 0.00 </p>
</blockquote>
<div class="parameters">
<h5>Parameters</h5>
<h6><code><span title="System.double">double</span></code> a</h6>
<p class="comments">The first value. </p>
<h6><code><span title="System.double">double</span></code> b</h6>
<p class="comments">The second value. </p>
<h6><code><span title="System.int">int</span></code> decimalPlaces</h6>
<p class="comments">The number of decimal places. </p>
</div>
<div class="return">
<h5>Return</h5>
<h6><code><span title="System.bool">bool</span></code></h6>
<p><code>true</code> if the first value is smaller than the second value; otherwise <code>false</code>. </p>
</div>
</div>
</div>
<div id="IsSmaller" class="method">
<h4><span title="System.bool">bool</span> <strong>IsSmaller</strong>(this <span title="System.float">float</span> a, <span title="System.float">float</span> b, <span title="System.int">int</span> decimalPlaces)</h4>
<div class="content">Compares two doubles and determines if the <code>first</code> value is smaller than the <code>second</code> value to within the specified number of decimal places or not. <blockquote class="remarks">
<p>The values are equal if the difference between the two numbers is smaller than 10^(-numberOfDecimalPlaces). We divide by
two so that we have half the range on each side of th <var>decimalPlaces</var> g. if <var>decimalPlaces</var> == 2, then 0.01 will equal between
0.005 and 0.015, but not 0.02 and not 0.00 </p>
</blockquote>
<div class="parameters">
<h5>Parameters</h5>
<h6><code><span title="System.float">float</span></code> a</h6>
<p class="comments">The first value. </p>
<h6><code><span title="System.float">float</span></code> b</h6>
<p class="comments">The second value. </p>
<h6><code><span title="System.int">int</span></code> decimalPlaces</h6>
<p class="comments">The number of decimal places. </p>
</div>
<div class="return">
<h5>Return</h5>
<h6><code><span title="System.bool">bool</span></code></h6>
<p><code>true</code> if the first value is smaller than the second value; otherwise <code>false</code>. </p>
</div>
</div>
</div>
<div id="IsSmaller" class="method">
<h4><span title="System.bool">bool</span> <strong>IsSmaller</strong>(this <span title="System.double">double</span> a, <span title="System.double">double</span> b, <span title="System.double">double</span> maximumAbsoluteError)</h4>
<div class="content">Compares two doubles and determines if the <code>first</code> value is smaller than the <code>second</code> value to within the specified number of decimal places or not.
<div class="parameters">
<h5>Parameters</h5>
<h6><code><span title="System.double">double</span></code> a</h6>
<p class="comments">The first value. </p>
<h6><code><span title="System.double">double</span></code> b</h6>
<p class="comments">The second value. </p>
<h6><code><span title="System.double">double</span></code> maximumAbsoluteError</h6>
<p class="comments">The absolute accuracy required for being almost equal. </p>
</div>
<div class="return">
<h5>Return</h5>
<h6><code><span title="System.bool">bool</span></code></h6>
<p><code>true</code> if the first value is smaller than the second value; otherwise <code>false</code>. </p>
</div>
</div>
</div>
<div id="IsSmaller" class="method">
<h4><span title="System.bool">bool</span> <strong>IsSmaller</strong>(this <span title="System.float">float</span> a, <span title="System.float">float</span> b, <span title="System.double">double</span> maximumAbsoluteError)</h4>
<div class="content">Compares two doubles and determines if the <code>first</code> value is smaller than the <code>second</code> value to within the specified number of decimal places or not.
<div class="parameters">
<h5>Parameters</h5>
<h6><code><span title="System.float">float</span></code> a</h6>
<p class="comments">The first value. </p>
<h6><code><span title="System.float">float</span></code> b</h6>
<p class="comments">The second value. </p>
<h6><code><span title="System.double">double</span></code> maximumAbsoluteError</h6>
<p class="comments">The absolute accuracy required for being almost equal. </p>
</div>
<div class="return">
<h5>Return</h5>
<h6><code><span title="System.bool">bool</span></code></h6>
<p><code>true</code> if the first value is smaller than the second value; otherwise <code>false</code>. </p>
</div>
</div>
</div>
<div id="IsSmallerNumbersBetween" class="method">
<h4><span title="System.bool">bool</span> <strong>IsSmallerNumbersBetween</strong>(this <span title="System.float">float</span> a, <span title="System.float">float</span> b, <span title="System.long">long</span> maxNumbersBetween)</h4>
<div class="content">Compares two doubles and determines if the <code>first</code> value is smaller than the <code>second</code> value to within the tolerance or not. Equality comparison is based on the binary representation.
<div class="parameters">
<h5>Parameters</h5>
<h6><code><span title="System.float">float</span></code> a</h6>
<p class="comments">The first value. </p>
<h6><code><span title="System.float">float</span></code> b</h6>
<p class="comments">The second value. </p>
<h6><code><span title="System.long">long</span></code> maxNumbersBetween</h6>
<p class="comments">The maximum number of floating point values for which the two values are considered equal. Must be 1 or larger. </p>
</div>
<div class="return">
<h5>Return</h5>
<h6><code><span title="System.bool">bool</span></code></h6>
<p><code>true</code> if the first value is smaller than the second value; otherwise <code>false</code>. </p>
</div>
</div>
</div>
<div id="IsSmallerNumbersBetween" class="method">
<h4><span title="System.bool">bool</span> <strong>IsSmallerNumbersBetween</strong>(this <span title="System.double">double</span> a, <span title="System.double">double</span> b, <span title="System.long">long</span> maxNumbersBetween)</h4>
<div class="content">Compares two doubles and determines if the <code>first</code> value is smaller than the <code>second</code> value to within the tolerance or not. Equality comparison is based on the binary representation.
<div class="parameters">
<h5>Parameters</h5>
<h6><code><span title="System.double">double</span></code> a</h6>
<p class="comments">The first value. </p>
<h6><code><span title="System.double">double</span></code> b</h6>
<p class="comments">The second value. </p>
<h6><code><span title="System.long">long</span></code> maxNumbersBetween</h6>
<p class="comments">The maximum number of floating point values for which the two values are considered equal. Must be 1 or larger. </p>
</div>
<div class="return">
<h5>Return</h5>
<h6><code><span title="System.bool">bool</span></code></h6>
<p><code>true</code> if the first value is smaller than the second value; otherwise <code>false</code>. </p>
</div>
</div>
</div>
<div id="IsSmallerRelative" class="method">
<h4><span title="System.bool">bool</span> <strong>IsSmallerRelative</strong>(this <span title="System.float">float</span> a, <span title="System.float">float</span> b, <span title="System.double">double</span> maximumError)</h4>
<div class="content">Compares two doubles and determines if the <code>first</code> value is smaller than the <code>second</code> value to within the specified number of decimal places or not.
<div class="parameters">
<h5>Parameters</h5>
<h6><code><span title="System.float">float</span></code> a</h6>
<p class="comments">The first value. </p>
<h6><code><span title="System.float">float</span></code> b</h6>
<p class="comments">The second value. </p>
<h6><code><span title="System.double">double</span></code> maximumError</h6>
<p class="comments">The relative accuracy required for being almost equal. </p>
</div>
<div class="return">
<h5>Return</h5>
<h6><code><span title="System.bool">bool</span></code></h6>
<p><code>true</code> if the first value is smaller than the second value; otherwise <code>false</code>. </p>
</div>
</div>
</div>
<div id="IsSmallerRelative" class="method">
<h4><span title="System.bool">bool</span> <strong>IsSmallerRelative</strong>(this <span title="System.double">double</span> a, <span title="System.double">double</span> b, <span title="System.double">double</span> maximumError)</h4>
<div class="content">Compares two doubles and determines if the <code>first</code> value is smaller than the <code>second</code> value to within the specified number of decimal places or not.
<div class="parameters">
<h5>Parameters</h5>
<h6><code><span title="System.double">double</span></code> a</h6>
<p class="comments">The first value. </p>
<h6><code><span title="System.double">double</span></code> b</h6>
<p class="comments">The second value. </p>
<h6><code><span title="System.double">double</span></code> maximumError</h6>
<p class="comments">The relative accuracy required for being almost equal. </p>
</div>
<div class="return">
<h5>Return</h5>
<h6><code><span title="System.bool">bool</span></code></h6>
<p><code>true</code> if the first value is smaller than the second value; otherwise <code>false</code>. </p>
</div>
</div>
</div>
<div id="IsSmallerRelative" class="method">
<h4><span title="System.bool">bool</span> <strong>IsSmallerRelative</strong>(this <span title="System.float">float</span> a, <span title="System.float">float</span> b, <span title="System.int">int</span> decimalPlaces)</h4>
<div class="content">Compares two doubles and determines if the <code>first</code> value is smaller than the <code>second</code> value to within the specified number of decimal places or not.
<div class="parameters">
<h5>Parameters</h5>
<h6><code><span title="System.float">float</span></code> a</h6>
<p class="comments">The first value. </p>
<h6><code><span title="System.float">float</span></code> b</h6>
<p class="comments">The second value. </p>
<h6><code><span title="System.int">int</span></code> decimalPlaces</h6>
<p class="comments">The number of decimal places. </p>
</div>
<div class="return">
<h5>Return</h5>
<h6><code><span title="System.bool">bool</span></code></h6>
<p><code>true</code> if the first value is smaller than the second value; otherwise <code>false</code>. </p>
</div>
</div>
</div>
<div id="IsSmallerRelative" class="method">
<h4><span title="System.bool">bool</span> <strong>IsSmallerRelative</strong>(this <span title="System.double">double</span> a, <span title="System.double">double</span> b, <span title="System.int">int</span> decimalPlaces)</h4>
<div class="content">Compares two doubles and determines if the <code>first</code> value is smaller than the <code>second</code> value to within the specified number of decimal places or not.
<div class="parameters">
<h5>Parameters</h5>
<h6><code><span title="System.double">double</span></code> a</h6>
<p class="comments">The first value. </p>
<h6><code><span title="System.double">double</span></code> b</h6>
<p class="comments">The second value. </p>
<h6><code><span title="System.int">int</span></code> decimalPlaces</h6>
<p class="comments">The number of decimal places. </p>
</div>
<div class="return">
<h5>Return</h5>
<h6><code><span title="System.bool">bool</span></code></h6>
<p><code>true</code> if the first value is smaller than the second value; otherwise <code>false</code>. </p>
</div>
</div>
</div>
<div id="ListAlmostEqual" class="method">
<h4><span title="System.bool">bool</span> <strong>ListAlmostEqual</strong>(this <span title="System.Collections.Generic.IList<double>">IList&lt;double&gt;</span> a, <span title="System.Collections.Generic.IList<double>">IList&lt;double&gt;</span> b, <span title="System.int">int</span> decimalPlaces)</h4>
<div class="content">Compares two lists of doubles and determines if they are equal within the
specified maximum error.
<div class="parameters">
<h5>Parameters</h5>
<h6><code><span title="System.Collections.Generic.IList<double>">IList&lt;double&gt;</span></code> a</h6>
<p class="comments">The first value list. </p>
<h6><code><span title="System.Collections.Generic.IList<double>">IList&lt;double&gt;</span></code> b</h6>
<p class="comments">The second value list. </p>
<h6><code><span title="System.int">int</span></code> decimalPlaces</h6>
<p class="comments">The number of decimal places. </p>
</div>
</div>
</div>
<div id="ListAlmostEqual" class="method">
<h4><span title="System.bool">bool</span> <strong>ListAlmostEqual</strong>(this <span title="System.Collections.Generic.IList<double>">IList&lt;double&gt;</span> a, <span title="System.Collections.Generic.IList<double>">IList&lt;double&gt;</span> b, <span title="System.double">double</span> maximumAbsoluteError)</h4>
<div class="content">Compares two lists of doubles and determines if they are equal within the
specified maximum error.
<div class="parameters">
<h5>Parameters</h5>
<h6><code><span title="System.Collections.Generic.IList<double>">IList&lt;double&gt;</span></code> a</h6>
<p class="comments">The first value list. </p>
<h6><code><span title="System.Collections.Generic.IList<double>">IList&lt;double&gt;</span></code> b</h6>
<p class="comments">The second value list. </p>
<h6><code><span title="System.double">double</span></code> maximumAbsoluteError</h6>
<p class="comments">The accuracy required for being almost equal. </p>
</div>
</div>
</div>
<div id="ListAlmostEqualNorm``1" class="method">
<h4><span title="System.bool">bool</span> <strong>ListAlmostEqualNorm&lt;T&gt;</strong>(this <span title="System.Collections.Generic.IList<T>">IList&lt;T&gt;</span> a, <span title="System.Collections.Generic.IList<T>">IList&lt;T&gt;</span> b, <span title="System.double">double</span> maximumAbsoluteError)</h4>
<div class="content">Compares two lists of doubles and determines if they are equal within the
specified maximum error.
<div class="parameters">
<h5>Parameters</h5>
<h6><code><span title="System.Collections.Generic.IList<T>">IList&lt;T&gt;</span></code> a</h6>
<p class="comments">The first value list. </p>
<h6><code><span title="System.Collections.Generic.IList<T>">IList&lt;T&gt;</span></code> b</h6>
<p class="comments">The second value list. </p>
<h6><code><span title="System.double">double</span></code> maximumAbsoluteError</h6>
<p class="comments">The accuracy required for being almost equal. </p>
</div>
</div>
</div>
<div id="ListAlmostEqualNormRelative``1" class="method">
<h4><span title="System.bool">bool</span> <strong>ListAlmostEqualNormRelative&lt;T&gt;</strong>(this <span title="System.Collections.Generic.IList<T>">IList&lt;T&gt;</span> a, <span title="System.Collections.Generic.IList<T>">IList&lt;T&gt;</span> b, <span title="System.double">double</span> maximumError)</h4>
<div class="content">Compares two lists of doubles and determines if they are equal within the
specified maximum error.
<div class="parameters">
<h5>Parameters</h5>
<h6><code><span title="System.Collections.Generic.IList<T>">IList&lt;T&gt;</span></code> a</h6>
<p class="comments">The first value list. </p>
<h6><code><span title="System.Collections.Generic.IList<T>">IList&lt;T&gt;</span></code> b</h6>
<p class="comments">The second value list. </p>
<h6><code><span title="System.double">double</span></code> maximumError</h6>
<p class="comments">The accuracy required for being almost equal. </p>
</div>
</div>
</div>
<div id="ListAlmostEqualRelative" class="method">
<h4><span title="System.bool">bool</span> <strong>ListAlmostEqualRelative</strong>(this <span title="System.Collections.Generic.IList<double>">IList&lt;double&gt;</span> a, <span title="System.Collections.Generic.IList<double>">IList&lt;double&gt;</span> b, <span title="System.int">int</span> decimalPlaces)</h4>
<div class="content">Compares two lists of doubles and determines if they are equal within the
specified maximum error.
<div class="parameters">
<h5>Parameters</h5>
<h6><code><span title="System.Collections.Generic.IList<double>">IList&lt;double&gt;</span></code> a</h6>
<p class="comments">The first value list. </p>
<h6><code><span title="System.Collections.Generic.IList<double>">IList&lt;double&gt;</span></code> b</h6>
<p class="comments">The second value list. </p>
<h6><code><span title="System.int">int</span></code> decimalPlaces</h6>
<p class="comments">The number of decimal places. </p>
</div>
</div>
</div>
<div id="ListAlmostEqualRelative" class="method">
<h4><span title="System.bool">bool</span> <strong>ListAlmostEqualRelative</strong>(this <span title="System.Collections.Generic.IList<double>">IList&lt;double&gt;</span> a, <span title="System.Collections.Generic.IList<double>">IList&lt;double&gt;</span> b, <span title="System.double">double</span> maximumError)</h4>
<div class="content">Compares two lists of doubles and determines if they are equal within the
specified maximum error.
<div class="parameters">
<h5>Parameters</h5>
<h6><code><span title="System.Collections.Generic.IList<double>">IList&lt;double&gt;</span></code> a</h6>
<p class="comments">The first value list. </p>
<h6><code><span title="System.Collections.Generic.IList<double>">IList&lt;double&gt;</span></code> b</h6>
<p class="comments">The second value list. </p>
<h6><code><span title="System.double">double</span></code> maximumError</h6>
<p class="comments">The accuracy required for being almost equal. </p>
</div>
</div>
</div>
<div id="Magnitude" class="method">
<h4><span title="System.int">int</span> <strong>Magnitude</strong>(this <span title="System.double">double</span> value)</h4>
<div class="content">Returns the magnitude of the number.
<div class="parameters">
<h5>Parameters</h5>
<h6><code><span title="System.double">double</span></code> value</h6>
<p class="comments">The value. </p>
</div>
<div class="return">
<h5>Return</h5>
<h6><code><span title="System.int">int</span></code></h6>
<p>The magnitude of the number. </p>
</div>
</div>
</div>
<div id="Magnitude" class="method">
<h4><span title="System.int">int</span> <strong>Magnitude</strong>(this <span title="System.float">float</span> value)</h4>
<div class="content">Returns the magnitude of the number.
<div class="parameters">
<h5>Parameters</h5>
<h6><code><span title="System.float">float</span></code> value</h6>
<p class="comments">The value. </p>
</div>
<div class="return">
<h5>Return</h5>
<h6><code><span title="System.int">int</span></code></h6>
<p>The magnitude of the number. </p>
</div>
</div>
</div>
<div id="MaximumMatchingFloatingPointNumber" class="method">
<h4><span title="System.double">double</span> <strong>MaximumMatchingFloatingPointNumber</strong>(this <span title="System.double">double</span> value, <span title="System.long">long</span> maxNumbersBetween)</h4>
<div class="content">Returns the floating point number that will match the value with the tolerance on the maximum size (i.e. the result is
always bigger than the value)
<div class="parameters">
<h5>Parameters</h5>
<h6><code><span title="System.double">double</span></code> value</h6>
<p class="comments">The value. </p>
<h6><code><span title="System.long">long</span></code> maxNumbersBetween</h6>
<p class="comments">The <code>ulps</code> difference. </p>
</div>
<div class="return">
<h5>Return</h5>
<h6><code><span title="System.double">double</span></code></h6>
<p>The maximum floating point number which is <var>maxNumbersBetween</var> larger than the given <var>value</var>. </p>
</div>
</div>
</div>
<div id="MinimumMatchingFloatingPointNumber" class="method">
<h4><span title="System.double">double</span> <strong>MinimumMatchingFloatingPointNumber</strong>(this <span title="System.double">double</span> value, <span title="System.long">long</span> maxNumbersBetween)</h4>
<div class="content">Returns the floating point number that will match the value with the tolerance on the minimum size (i.e. the result is
always smaller than the value)
<div class="parameters">
<h5>Parameters</h5>
<h6><code><span title="System.double">double</span></code> value</h6>
<p class="comments">The value. </p>
<h6><code><span title="System.long">long</span></code> maxNumbersBetween</h6>
<p class="comments">The <code>ulps</code> difference. </p>
</div>
<div class="return">
<h5>Return</h5>
<h6><code><span title="System.double">double</span></code></h6>
<p>The minimum floating point number which is <var>maxNumbersBetween</var> smaller than the given <var>value</var>. </p>
</div>
</div>
</div>
<div id="NumbersBetween" class="method">
<h4><span title="System.ulong">ulong</span> <strong>NumbersBetween</strong>(this <span title="System.double">double</span> a, <span title="System.double">double</span> b)</h4>
<div class="content">Evaluates the count of numbers between two double numbers <blockquote class="remarks">
The second number is included in the number, thus two equal numbers evaluate to zero and two neighbor numbers evaluate to one. Therefore, what is returned is actually the count of numbers between plus 1.
</blockquote>
<div class="parameters">
<h5>Parameters</h5>
<h6><code><span title="System.double">double</span></code> a</h6>
<p class="comments">The first parameter. </p>
<h6><code><span title="System.double">double</span></code> b</h6>
<p class="comments">The second parameter. </p>
</div>
<div class="return">
<h5>Return</h5>
<h6><code><span title="System.ulong">ulong</span></code></h6>
<p>The number of floating point values between <var>a</var> and <var>b</var>. </p>
</div>
</div>
</div>
<div id="PositiveEpsilonOf" class="method">
<h4><span title="System.double">double</span> <strong>PositiveEpsilonOf</strong>(this <span title="System.double">double</span> value)</h4>
<div class="content">Evaluates the minimum distance to the next distinguishable number near the argument value. <blockquote class="remarks">
Evaluates the epsilon. See also <a href="../MathNet.Numerics/Precision.htm#EpsilonOf">EpsilonOf</a>
</blockquote>
<div class="parameters">
<h5>Parameters</h5>
<h6><code><span title="System.double">double</span></code> value</h6>
<p class="comments">The value used to determine the minimum distance. </p>
</div>
<div class="return">
<h5>Return</h5>
<h6><code><span title="System.double">double</span></code></h6>
<p>Relative Epsilon (positive double or NaN) </p>
</div>
</div>
</div>
<div id="PositiveEpsilonOf" class="method">
<h4><span title="System.float">float</span> <strong>PositiveEpsilonOf</strong>(this <span title="System.float">float</span> value)</h4>
<div class="content">Evaluates the minimum distance to the next distinguishable number near the argument value. <blockquote class="remarks">
Evaluates the epsilon. See also <a href="../MathNet.Numerics/Precision.htm#EpsilonOf">EpsilonOf</a>
</blockquote>
<div class="parameters">
<h5>Parameters</h5>
<h6><code><span title="System.float">float</span></code> value</h6>
<p class="comments">The value used to determine the minimum distance. </p>
</div>
<div class="return">
<h5>Return</h5>
<h6><code><span title="System.float">float</span></code></h6>
<p>Relative Epsilon (positive float or NaN) </p>
</div>
</div>
</div>
<div id="RangeOfMatchingFloatingPointNumbers" class="method">
<h4><span title="System.ValueTuple<double, double>">ValueTuple&lt;double, double&gt;</span> <strong>RangeOfMatchingFloatingPointNumbers</strong>(this <span title="System.double">double</span> value, <span title="System.long">long</span> maxNumbersBetween)</h4>
<div class="content">Determines the range of floating point numbers that will match the specified value with the given tolerance.
<div class="parameters">
<h5>Parameters</h5>
<h6><code><span title="System.double">double</span></code> value</h6>
<p class="comments">The value. </p>
<h6><code><span title="System.long">long</span></code> maxNumbersBetween</h6>
<p class="comments">The <code>ulps</code> difference. </p>
</div>
<div class="return">
<h5>Return</h5>
<h6><code><span title="System.ValueTuple<double, double>">ValueTuple&lt;double, double&gt;</span></code></h6>
<p>Tuple of the bottom and top range ends. </p>
</div>
</div>
</div>
<div id="RangeOfMatchingNumbers" class="method">
<h4><span title="System.ValueTuple<long, long>">ValueTuple&lt;long, long&gt;</span> <strong>RangeOfMatchingNumbers</strong>(this <span title="System.double">double</span> value, <span title="System.double">double</span> relativeDifference)</h4>
<div class="content">Determines the range of <code>ulps</code> that will match the specified value with the given tolerance.
<div class="parameters">
<h5>Parameters</h5>
<h6><code><span title="System.double">double</span></code> value</h6>
<p class="comments">The value. </p>
<h6><code><span title="System.double">double</span></code> relativeDifference</h6>
<p class="comments">The relative difference. </p>
</div>
<div class="return">
<h5>Return</h5>
<h6><code><span title="System.ValueTuple<long, long>">ValueTuple&lt;long, long&gt;</span></code></h6>
<p>Tuple with the number of ULPS between the <code>value</code> and the <code>value - relativeDifference</code> as first,
and the number of ULPS between the <code>value</code> and the <code>value + relativeDifference</code> as second value. </p>
</div>
</div>
</div>
<div id="Round" class="method">
<h4><span title="System.Numerics.BigInteger">BigInteger</span> <strong>Round</strong>(this <span title="System.Numerics.BigInteger">BigInteger</span> number, <span title="System.int">int</span> digits)</h4>
<div class="content">Round to the number closest to 10^(-decimals). Negative decimals to round within the integer part.
<div class="parameters">
<h5>Parameters</h5>
<h6><code><span title="System.Numerics.BigInteger">BigInteger</span></code> number</h6>
<p class="comments">Number to be rounded </p>
<h6><code><span title="System.int">int</span></code> digits</h6>
<p class="comments">If positive the number of decimals to round to. If negative the number of digits within the integer part to round, e.g. -3 will wound to the closes 1000. </p>
</div>
<div class="return">
<h5>Return</h5>
<h6><code><span title="System.Numerics.BigInteger">BigInteger</span></code></h6>
<p>Rounded number </p>
</div>
<div class="example">
<a href="javascript:void(0)">Show Example</a>
<pre>To round 123456789 to hundreds Round(123456789, -2) = 123456800 </pre>
</div>
</div>
</div>
<div id="Round" class="method">
<h4><span title="System.ulong">ulong</span> <strong>Round</strong>(this <span title="System.ulong">ulong</span> number, <span title="System.int">int</span> digits)</h4>
<div class="content">Round to the number closest to 10^(-decimals). Negative decimals to round within the integer part.
<div class="parameters">
<h5>Parameters</h5>
<h6><code><span title="System.ulong">ulong</span></code> number</h6>
<p class="comments">Number to be rounded </p>
<h6><code><span title="System.int">int</span></code> digits</h6>
<p class="comments">If positive the number of decimals to round to. If negative the number of digits within the integer part to round, e.g. -3 will wound to the closes 1000. </p>
</div>
<div class="return">
<h5>Return</h5>
<h6><code><span title="System.ulong">ulong</span></code></h6>
<p>Rounded number </p>
</div>
<div class="example">
<a href="javascript:void(0)">Show Example</a>
<pre>To round 123456789 to hundreds Round(123456789, -2) = 123456800 </pre>
</div>
</div>
</div>
<div id="Round" class="method">
<h4><span title="System.ushort">ushort</span> <strong>Round</strong>(this <span title="System.ushort">ushort</span> number, <span title="System.int">int</span> digits)</h4>
<div class="content">Round to the number closest to 10^(-decimals). Negative decimals to round within the integer part.
<div class="parameters">
<h5>Parameters</h5>
<h6><code><span title="System.ushort">ushort</span></code> number</h6>
<p class="comments">Number to be rounded </p>
<h6><code><span title="System.int">int</span></code> digits</h6>
<p class="comments">If positive the number of decimals to round to. If negative the number of digits within the integer part to round, e.g. -3 will wound to the closes 1000. </p>
</div>
<div class="return">
<h5>Return</h5>
<h6><code><span title="System.ushort">ushort</span></code></h6>
<p>Rounded number </p>
</div>
<div class="example">
<a href="javascript:void(0)">Show Example</a>
<pre>To round 123456789 to hundreds Round(123456789, -2) = 123456800 </pre>
</div>
</div>
</div>
<div id="Round" class="method">
<h4><span title="System.double">double</span> <strong>Round</strong>(this <span title="System.double">double</span> number, <span title="System.int">int</span> digits)</h4>
<div class="content">Round to the number closest to 10^(-decimals). Negative decimals to round within the integer part.
<div class="parameters">
<h5>Parameters</h5>
<h6><code><span title="System.double">double</span></code> number</h6>
<p class="comments">Number to be rounded </p>
<h6><code><span title="System.int">int</span></code> digits</h6>
<p class="comments">If positive the number of decimals to round to. If negative the number of digits within the integer part to round, e.g. -3 will wound to the closes 1000. </p>
</div>
<div class="return">
<h5>Return</h5>
<h6><code><span title="System.double">double</span></code></h6>
<p>Rounded number </p>
</div>
<div class="example">
<a href="javascript:void(0)">Show Example</a>
<pre>To round 123456789 to hundreds Round(123456789, -2) = 123456800 </pre>
</div>
</div>
</div>
<div id="Round" class="method">
<h4><span title="System.float">float</span> <strong>Round</strong>(this <span title="System.float">float</span> number, <span title="System.int">int</span> digits)</h4>
<div class="content">Round to the number closest to 10^(-decimals). Negative decimals to round within the integer part.
<div class="parameters">
<h5>Parameters</h5>
<h6><code><span title="System.float">float</span></code> number</h6>
<p class="comments">Number to be rounded </p>
<h6><code><span title="System.int">int</span></code> digits</h6>
<p class="comments">If positive the number of decimals to round to. If negative the number of digits within the integer part to round, e.g. -3 will wound to the closes 1000. </p>
</div>
<div class="return">
<h5>Return</h5>
<h6><code><span title="System.float">float</span></code></h6>
<p>Rounded number </p>
</div>
<div class="example">
<a href="javascript:void(0)">Show Example</a>
<pre>To round 123456789 to hundreds Round(123456789, -2) = 123456800 </pre>
</div>
</div>
</div>
<div id="Round" class="method">
<h4><span title="System.decimal">decimal</span> <strong>Round</strong>(this <span title="System.decimal">decimal</span> number, <span title="System.int">int</span> digits)</h4>
<div class="content">Round to the number closest to 10^(-decimals). Negative decimals to round within the integer part.
<div class="parameters">
<h5>Parameters</h5>
<h6><code><span title="System.decimal">decimal</span></code> number</h6>
<p class="comments">Number to be rounded </p>
<h6><code><span title="System.int">int</span></code> digits</h6>
<p class="comments">If positive the number of decimals to round to. If negative the number of digits within the integer part to round, e.g. -3 will wound to the closes 1000. </p>
</div>
<div class="return">
<h5>Return</h5>
<h6><code><span title="System.decimal">decimal</span></code></h6>
<p>Rounded number </p>
</div>
<div class="example">
<a href="javascript:void(0)">Show Example</a>
<pre>To round 123456789 to hundreds Round(123456789, -2) = 123456800 </pre>
</div>
</div>
</div>
<div id="Round" class="method">
<h4><span title="System.int">int</span> <strong>Round</strong>(this <span title="System.int">int</span> number, <span title="System.int">int</span> digits)</h4>
<div class="content">Round to the number closest to 10^(-decimals). Negative decimals to round within the integer part.
<div class="parameters">
<h5>Parameters</h5>
<h6><code><span title="System.int">int</span></code> number</h6>
<p class="comments">Number to be rounded </p>
<h6><code><span title="System.int">int</span></code> digits</h6>
<p class="comments">If positive the number of decimals to round to. If negative the number of digits within the integer part to round, e.g. -3 will wound to the closes 1000. </p>
</div>
<div class="return">
<h5>Return</h5>
<h6><code><span title="System.int">int</span></code></h6>
<p>Rounded number </p>
</div>
<div class="example">
<a href="javascript:void(0)">Show Example</a>
<pre>To round 123456789 to hundreds Round(123456789, -2) = 123456800 </pre>
</div>
</div>
</div>
<div id="Round" class="method">
<h4><span title="System.uint">uint</span> <strong>Round</strong>(this <span title="System.uint">uint</span> number, <span title="System.int">int</span> digits)</h4>
<div class="content">Round to the number closest to 10^(-decimals). Negative decimals to round within the integer part.
<div class="parameters">
<h5>Parameters</h5>
<h6><code><span title="System.uint">uint</span></code> number</h6>
<p class="comments">Number to be rounded </p>
<h6><code><span title="System.int">int</span></code> digits</h6>
<p class="comments">If positive the number of decimals to round to. If negative the number of digits within the integer part to round, e.g. -3 will wound to the closes 1000. </p>
</div>
<div class="return">
<h5>Return</h5>
<h6><code><span title="System.uint">uint</span></code></h6>
<p>Rounded number </p>
</div>
<div class="example">
<a href="javascript:void(0)">Show Example</a>
<pre>To round 123456789 to hundreds Round(123456789, -2) = 123456800 </pre>
</div>
</div>
</div>
<div id="Round" class="method">
<h4><span title="System.long">long</span> <strong>Round</strong>(this <span title="System.long">long</span> number, <span title="System.int">int</span> digits)</h4>
<div class="content">Round to the number closest to 10^(-decimals). Negative decimals to round within the integer part.
<div class="parameters">
<h5>Parameters</h5>
<h6><code><span title="System.long">long</span></code> number</h6>
<p class="comments">Number to be rounded </p>
<h6><code><span title="System.int">int</span></code> digits</h6>
<p class="comments">If positive the number of decimals to round to. If negative the number of digits within the integer part to round, e.g. -3 will wound to the closes 1000. </p>
</div>
<div class="return">
<h5>Return</h5>
<h6><code><span title="System.long">long</span></code></h6>
<p>Rounded number </p>
</div>
<div class="example">
<a href="javascript:void(0)">Show Example</a>
<pre>To round 123456789 to hundreds Round(123456789, -2) = 123456800 </pre>
</div>
</div>
</div>
<div id="Round" class="method">
<h4><span title="System.short">short</span> <strong>Round</strong>(this <span title="System.short">short</span> number, <span title="System.int">int</span> digits)</h4>
<div class="content">Round to the number closest to 10^(-decimals). Negative decimals to round within the integer part.
<div class="parameters">
<h5>Parameters</h5>
<h6><code><span title="System.short">short</span></code> number</h6>
<p class="comments">Number to be rounded </p>
<h6><code><span title="System.int">int</span></code> digits</h6>
<p class="comments">If positive the number of decimals to round to. If negative the number of digits within the integer part to round, e.g. -3 will wound to the closes 1000. </p>
</div>
<div class="return">
<h5>Return</h5>
<h6><code><span title="System.short">short</span></code></h6>
<p>Rounded number </p>
</div>
<div class="example">
<a href="javascript:void(0)">Show Example</a>
<pre>To round 123456789 to hundreds Round(123456789, -2) = 123456800 </pre>
</div>
</div>
</div>
<div id="RoundToMultiple" class="method">
<h4><span title="System.double">double</span> <strong>RoundToMultiple</strong>(this <span title="System.double">double</span> number, <span title="System.double">double</span> basis)</h4>
<div class="content">Round to a multiple of the provided positive basis.
<div class="parameters">
<h5>Parameters</h5>
<h6><code><span title="System.double">double</span></code> number</h6>
<p class="comments">Number to be rounded. </p>
<h6><code><span title="System.double">double</span></code> basis</h6>
<p class="comments">The basis to whose multiples to round to. Must be positive. </p>
</div>
</div>
</div>
<div id="RoundToMultiple" class="method">
<h4><span title="System.float">float</span> <strong>RoundToMultiple</strong>(this <span title="System.float">float</span> number, <span title="System.float">float</span> basis)</h4>
<div class="content">Round to a multiple of the provided positive basis.
<div class="parameters">
<h5>Parameters</h5>
<h6><code><span title="System.float">float</span></code> number</h6>
<p class="comments">Number to be rounded. </p>
<h6><code><span title="System.float">float</span></code> basis</h6>
<p class="comments">The basis to whose multiples to round to. Must be positive. </p>
</div>
</div>
</div>
<div id="RoundToMultiple" class="method">
<h4><span title="System.decimal">decimal</span> <strong>RoundToMultiple</strong>(this <span title="System.decimal">decimal</span> number, <span title="System.decimal">decimal</span> basis)</h4>
<div class="content">Round to a multiple of the provided positive basis.
<div class="parameters">
<h5>Parameters</h5>
<h6><code><span title="System.decimal">decimal</span></code> number</h6>
<p class="comments">Number to be rounded. </p>
<h6><code><span title="System.decimal">decimal</span></code> basis</h6>
<p class="comments">The basis to whose multiples to round to. Must be positive. </p>
</div>
</div>
</div>
<div id="RoundToPower" class="method">
<h4><span title="System.float">float</span> <strong>RoundToPower</strong>(this <span title="System.float">float</span> number, <span title="System.float">float</span> basis)</h4>
<div class="content">Round to a multiple of the provided positive basis.
<div class="parameters">
<h5>Parameters</h5>
<h6><code><span title="System.float">float</span></code> number</h6>
<p class="comments">Number to be rounded. </p>
<h6><code><span title="System.float">float</span></code> basis</h6>
<p class="comments">The basis to whose powers to round to. Must be positive. </p>
</div>
</div>
</div>
<div id="RoundToPower" class="method">
<h4><span title="System.double">double</span> <strong>RoundToPower</strong>(this <span title="System.double">double</span> number, <span title="System.double">double</span> basis)</h4>
<div class="content">Round to a multiple of the provided positive basis.
<div class="parameters">
<h5>Parameters</h5>
<h6><code><span title="System.double">double</span></code> number</h6>
<p class="comments">Number to be rounded. </p>
<h6><code><span title="System.double">double</span></code> basis</h6>
<p class="comments">The basis to whose powers to round to. Must be positive. </p>
</div>
</div>
</div>
<div id="ScaleUnitMagnitude" class="method">
<h4><span title="System.double">double</span> <strong>ScaleUnitMagnitude</strong>(this <span title="System.double">double</span> value)</h4>
<div class="content">Returns the number divided by it's magnitude, effectively returning a number between -10 and 10.
<div class="parameters">
<h5>Parameters</h5>
<h6><code><span title="System.double">double</span></code> value</h6>
<p class="comments">The value. </p>
</div>
<div class="return">
<h5>Return</h5>
<h6><code><span title="System.double">double</span></code></h6>
<p>The value of the number. </p>
</div>
</div>
</div>
<h3 class="section">Public fields</h3>
<div id="DoublePrecision" class="method">
<h4>double <strong>DoublePrecision</strong></h4>
<div class="content">Standard epsilon, the maximum relative precision of IEEE 754 double-precision floating numbers (64 bit).
According to the definition of Prof. Demmel and used in LAPACK and Scilab.
<table>
<tr>
<td>
<code>return <span title="System.double">double</span></code>
</td>
</tr>
</table>
</div>
</div>
<div id="PositiveDoublePrecision" class="method">
<h4>double <strong>PositiveDoublePrecision</strong></h4>
<div class="content">Standard epsilon, the maximum relative precision of IEEE 754 double-precision floating numbers (64 bit).
According to the definition of Prof. Higham and used in the ISO C standard and MATLAB.
<table>
<tr>
<td>
<code>return <span title="System.double">double</span></code>
</td>
</tr>
</table>
</div>
</div>
<div id="SinglePrecision" class="method">
<h4>double <strong>SinglePrecision</strong></h4>
<div class="content">Standard epsilon, the maximum relative precision of IEEE 754 single-precision floating numbers (32 bit).
According to the definition of Prof. Demmel and used in LAPACK and Scilab.
<table>
<tr>
<td>
<code>return <span title="System.double">double</span></code>
</td>
</tr>
</table>
</div>
</div>
<div id="PositiveSinglePrecision" class="method">
<h4>double <strong>PositiveSinglePrecision</strong></h4>
<div class="content">Standard epsilon, the maximum relative precision of IEEE 754 single-precision floating numbers (32 bit).
According to the definition of Prof. Higham and used in the ISO C standard and MATLAB.
<table>
<tr>
<td>
<code>return <span title="System.double">double</span></code>
</td>
</tr>
</table>
</div>
</div>
<div id="MachineEpsilon" class="method">
<h4>double <strong>MachineEpsilon</strong></h4>
<div class="content">Actual double precision machine epsilon, the smallest number that can be subtracted from 1, yielding a results different than 1.
This is also known as unit roundoff error. According to the definition of Prof. Demmel.
On a standard machine this is equivalent to `DoublePrecision`.
<table>
<tr>
<td>
<code>return <span title="System.double">double</span></code>
</td>
</tr>
</table>
</div>
</div>
<div id="PositiveMachineEpsilon" class="method">
<h4>double <strong>PositiveMachineEpsilon</strong></h4>
<div class="content">Actual double precision machine epsilon, the smallest number that can be added to 1, yielding a results different than 1.
This is also known as unit roundoff error. According to the definition of Prof. Higham.
On a standard machine this is equivalent to `PositiveDoublePrecision`.
<table>
<tr>
<td>
<code>return <span title="System.double">double</span></code>
</td>
</tr>
</table>
</div>
</div>
<div id="DoubleDecimalPlaces" class="method">
<h4>int <strong>DoubleDecimalPlaces</strong></h4>
<div class="content">The number of significant decimal places of double-precision floating numbers (64 bit).
<table>
<tr>
<td>
<code>return <span title="System.int">int</span></code>
</td>
</tr>
</table>
</div>
</div>
<div id="SingleDecimalPlaces" class="method">
<h4>int <strong>SingleDecimalPlaces</strong></h4>
<div class="content">The number of significant decimal places of single-precision floating numbers (32 bit).
<table>
<tr>
<td>
<code>return <span title="System.int">int</span></code>
</td>
</tr>
</table>
</div>
</div>
<div id="footer">
<p>Based on v5.0.0.0 of MathNet.Numerics (Math.NET Numerics)</p>
<p>Generated by <a href="http://docu.jagregory.com">docu</a></p>
</div>
</body>
</html>