Altaxo user manual and class reference
Altaxo user manual and class reference
Altaxo class reference
Altaxo Namespaces
Altaxo.Collections Namespaces
Altaxo.Collections
EnumerableExtensions Class
EnumerableExtensions Methods
GetDifferences Method
GetDifferences(IEnumerable<Double>) Method
GetDifferences(ReadOnlyMemory`1<Double>) Method
Enumerable
Extensions
Get
Differences(IEnumerable
Double
) Method
Gets the differences x[i+1] - x[i], for i = 0 .. x.Count-2.
Namespace:
Altaxo.Collections
Assembly:
AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
Copy
public
static
IEnumerable
<
double
>
GetDifferences
(
this
IEnumerable
<
double
>
x
)
Parameters
x
IEnumerable
Double
The x enumeration.
Return Value
IEnumerable
Double
The differences x[i+1] - x[i], for i = 0 .. x.Count-2.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
IEnumerable
Double
. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic)
or
Extension Methods (C# Programming Guide)
.
See Also
Reference
EnumerableExtensions Class
GetDifferences Overload
Altaxo.Collections Namespace
Altaxo can be downloaded from
SourceForge
. Source code available on
Github
.
(C) Dr. Dirk Lellinger and all contributors to the source code 2002 -
Send comments on this topic to
dlellinger@users.sourceforge.net