csharpfftfsharpintegrationinterpolationlinear-algebramathdifferentiationmatrixnumericsrandomregressionstatisticsmathnet
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.
386 lines
15 KiB
386 lines
15 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>StepInterpolation - 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">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" class="current">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.Interpolation</h2>
|
|
<div class="scroll">
|
|
<ul>
|
|
<li>
|
|
<a href="../MathNet.Numerics.Interpolation/Barycentric.htm">Barycentric</a>
|
|
</li>
|
|
<li>
|
|
<a href="../MathNet.Numerics.Interpolation/BulirschStoerRationalInterpolation.htm">BulirschStoerRationalInterpolation</a>
|
|
</li>
|
|
<li>
|
|
<a href="../MathNet.Numerics.Interpolation/CubicSpline.htm">CubicSpline</a>
|
|
</li>
|
|
<li>
|
|
<a href="../MathNet.Numerics.Interpolation/IInterpolation.htm">IInterpolation</a>
|
|
</li>
|
|
<li>
|
|
<a href="../MathNet.Numerics.Interpolation/LinearSpline.htm">LinearSpline</a>
|
|
</li>
|
|
<li>
|
|
<a href="../MathNet.Numerics.Interpolation/LogLinear.htm">LogLinear</a>
|
|
</li>
|
|
<li>
|
|
<a href="../MathNet.Numerics.Interpolation/NevillePolynomialInterpolation.htm">NevillePolynomialInterpolation</a>
|
|
</li>
|
|
<li>
|
|
<a href="../MathNet.Numerics.Interpolation/QuadraticSpline.htm">QuadraticSpline</a>
|
|
</li>
|
|
<li>
|
|
<a href="../MathNet.Numerics.Interpolation/SplineBoundaryCondition.htm">SplineBoundaryCondition</a>
|
|
</li>
|
|
<li>
|
|
<a href="../MathNet.Numerics.Interpolation/StepInterpolation.htm" class="current">StepInterpolation</a>
|
|
</li>
|
|
<li>
|
|
<a href="../MathNet.Numerics.Interpolation/TransformedInterpolation.htm">TransformedInterpolation</a>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
<div class="header">
|
|
<p class="class"><strong>Type</strong> StepInterpolation</p>
|
|
<p><strong>Namespace</strong> MathNet.Numerics.Interpolation</p>
|
|
<p><strong>Interfaces</strong> <a href="../MathNet.Numerics.Interpolation/IInterpolation.htm">IInterpolation</a></p>
|
|
</div>
|
|
<div class="sub-header">
|
|
<div id="summary">A step function where the start of each segment is included, and the last segment is open-ended.
|
|
Segment i is [x_i, x_i+1) for i < N, or [x_i, infinity] for i = N.
|
|
The domain of the function is all real numbers, such that y = 0 where x <. <blockquote class="remarks">
|
|
Supports both differentiation and integration.
|
|
</blockquote>
|
|
</div>
|
|
|
|
<h3 class="section">Constructors</h3>
|
|
<ul>
|
|
<li><a href="../MathNet.Numerics.Interpolation/StepInterpolation.htm#.ctor">StepInterpolation</a></li>
|
|
</ul>
|
|
|
|
<h3 class="section">Static Functions</h3>
|
|
<ul>
|
|
<li><a href="../MathNet.Numerics.Interpolation/StepInterpolation.htm#Interpolate">Interpolate</a></li>
|
|
<li><a href="../MathNet.Numerics.Interpolation/StepInterpolation.htm#InterpolateInplace">InterpolateInplace</a></li>
|
|
<li><a href="../MathNet.Numerics.Interpolation/StepInterpolation.htm#InterpolateSorted">InterpolateSorted</a></li>
|
|
</ul>
|
|
<h3 class="section">Methods</h3>
|
|
<ul>
|
|
<li><a href="../MathNet.Numerics.Interpolation/StepInterpolation.htm#Differentiate">Differentiate</a></li>
|
|
<li><a href="../MathNet.Numerics.Interpolation/StepInterpolation.htm#Differentiate2">Differentiate2</a></li>
|
|
<li><a href="../MathNet.Numerics.Interpolation/StepInterpolation.htm#Equals">Equals</a></li>
|
|
<li><a href="../MathNet.Numerics.Interpolation/StepInterpolation.htm#GetHashCode">GetHashCode</a></li>
|
|
<li><a href="../MathNet.Numerics.Interpolation/StepInterpolation.htm#GetType">GetType</a></li>
|
|
<li><a href="../MathNet.Numerics.Interpolation/StepInterpolation.htm#Integrate">Integrate</a></li>
|
|
<li><a href="../MathNet.Numerics.Interpolation/StepInterpolation.htm#Integrate">Integrate</a></li>
|
|
<li><a href="../MathNet.Numerics.Interpolation/StepInterpolation.htm#Interpolate">Interpolate</a></li>
|
|
<li><a href="../MathNet.Numerics.Interpolation/StepInterpolation.htm#ToString">ToString</a></li>
|
|
</ul>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
<h3 class="section">Public Constructors</h3>
|
|
|
|
<div id=".ctor" class="method">
|
|
<h4> <strong>StepInterpolation</strong>(<span title="System.Double[]">Double[]</span> x, <span title="System.Double[]">Double[]</span> sy)</h4>
|
|
<div class="content">
|
|
|
|
|
|
<div class="parameters">
|
|
<h5>Parameters</h5>
|
|
|
|
<h6><code><span title="System.Double[]">Double[]</span></code> x</h6>
|
|
<p class="comments">Sample points (N), sorted ascending </p>
|
|
<h6><code><span title="System.Double[]">Double[]</span></code> sy</h6>
|
|
<p class="comments">Samples values (N) of each segment starting at the corresponding sample point. </p>
|
|
</div>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
<h3 class="section">Public Static Functions</h3>
|
|
|
|
<div id="Interpolate" class="method">
|
|
<h4><a href="../MathNet.Numerics.Interpolation/StepInterpolation.htm">StepInterpolation</a> <strong>Interpolate</strong>(<span title="System.Collections.Generic.IEnumerable<double>">IEnumerable<double></span> x, <span title="System.Collections.Generic.IEnumerable<double>">IEnumerable<double></span> y)</h4>
|
|
<div class="content">Create a linear spline interpolation from an unsorted set of (x,y) value pairs.
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
<div id="InterpolateInplace" class="method">
|
|
<h4><a href="../MathNet.Numerics.Interpolation/StepInterpolation.htm">StepInterpolation</a> <strong>InterpolateInplace</strong>(<span title="System.Double[]">Double[]</span> x, <span title="System.Double[]">Double[]</span> y)</h4>
|
|
<div class="content">Create a linear spline interpolation from an unsorted set of (x,y) value pairs.
|
|
WARNING: Works in-place and can thus causes the data array to be reordered.
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
<div id="InterpolateSorted" class="method">
|
|
<h4><a href="../MathNet.Numerics.Interpolation/StepInterpolation.htm">StepInterpolation</a> <strong>InterpolateSorted</strong>(<span title="System.Double[]">Double[]</span> x, <span title="System.Double[]">Double[]</span> y)</h4>
|
|
<div class="content">Create a linear spline interpolation from a set of (x,y) value pairs, sorted ascendingly by x.
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
<h3 class="section">Public Methods</h3>
|
|
|
|
<div id="Differentiate" class="method">
|
|
<h4><span title="System.double">double</span> <strong>Differentiate</strong>(<span title="System.double">double</span> t)</h4>
|
|
<div class="content">Differentiate at point t.
|
|
|
|
|
|
<div class="parameters">
|
|
<h5>Parameters</h5>
|
|
|
|
<h6><code><span title="System.double">double</span></code> t</h6>
|
|
<p class="comments">Point t to interpolate at. </p>
|
|
</div>
|
|
|
|
<div class="return">
|
|
<h5>Return</h5>
|
|
<h6><code><span title="System.double">double</span></code></h6>
|
|
<p>Interpolated first derivative at point t. </p>
|
|
</div>
|
|
|
|
</div>
|
|
</div>
|
|
<div id="Differentiate2" class="method">
|
|
<h4><span title="System.double">double</span> <strong>Differentiate2</strong>(<span title="System.double">double</span> t)</h4>
|
|
<div class="content">Differentiate twice at point t.
|
|
|
|
|
|
<div class="parameters">
|
|
<h5>Parameters</h5>
|
|
|
|
<h6><code><span title="System.double">double</span></code> t</h6>
|
|
<p class="comments">Point t to interpolate at. </p>
|
|
</div>
|
|
|
|
<div class="return">
|
|
<h5>Return</h5>
|
|
<h6><code><span title="System.double">double</span></code></h6>
|
|
<p>Interpolated second derivative at point t. </p>
|
|
</div>
|
|
|
|
</div>
|
|
</div>
|
|
<div id="Equals" class="method">
|
|
<h4><span title="System.bool">bool</span> <strong>Equals</strong>(<span title="System.object">object</span> obj)</h4>
|
|
<div class="content">
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
<div id="GetHashCode" class="method">
|
|
<h4><span title="System.int">int</span> <strong>GetHashCode</strong>()</h4>
|
|
<div class="content">
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
<div id="GetType" class="method">
|
|
<h4><span title="System.Type">Type</span> <strong>GetType</strong>()</h4>
|
|
<div class="content">
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
<div id="Integrate" class="method">
|
|
<h4><span title="System.double">double</span> <strong>Integrate</strong>(<span title="System.double">double</span> t)</h4>
|
|
<div class="content">Indefinite integral at point t.
|
|
|
|
|
|
<div class="parameters">
|
|
<h5>Parameters</h5>
|
|
|
|
<h6><code><span title="System.double">double</span></code> t</h6>
|
|
<p class="comments">Point t to integrate at. </p>
|
|
</div>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
<div id="Integrate" class="method">
|
|
<h4><span title="System.double">double</span> <strong>Integrate</strong>(<span title="System.double">double</span> a, <span title="System.double">double</span> b)</h4>
|
|
<div class="content">Definite integral between points a and b.
|
|
|
|
|
|
<div class="parameters">
|
|
<h5>Parameters</h5>
|
|
|
|
<h6><code><span title="System.double">double</span></code> a</h6>
|
|
<p class="comments">Left bound of the integration interval [a,b]. </p>
|
|
<h6><code><span title="System.double">double</span></code> b</h6>
|
|
<p class="comments">Right bound of the integration interval [a,b]. </p>
|
|
</div>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
<div id="Interpolate" class="method">
|
|
<h4><span title="System.double">double</span> <strong>Interpolate</strong>(<span title="System.double">double</span> t)</h4>
|
|
<div class="content">Interpolate at point t.
|
|
|
|
|
|
<div class="parameters">
|
|
<h5>Parameters</h5>
|
|
|
|
<h6><code><span title="System.double">double</span></code> t</h6>
|
|
<p class="comments">Point t to interpolate at. </p>
|
|
</div>
|
|
|
|
<div class="return">
|
|
<h5>Return</h5>
|
|
<h6><code><span title="System.double">double</span></code></h6>
|
|
<p>Interpolated value x(t). </p>
|
|
</div>
|
|
|
|
</div>
|
|
</div>
|
|
<div id="ToString" class="method">
|
|
<h4><span title="System.string">string</span> <strong>ToString</strong>()</h4>
|
|
<div class="content">
|
|
|
|
|
|
|
|
|
|
</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>
|