XYTable Class

Table of corresponding x and y values, sorted on x values

Definition

Namespace: DHI.Mike1D.Generic
Assembly: DHI.Mike1D.Generic (in DHI.Mike1D.Generic.dll) Version: 24.0.0.0 (11.1.1.1111)
C#
public class XYTable : IXYTable, IAnyTable
Inheritance
Object    XYTable
Implements
IAnyTable, IXYTable

Constructors

XYTable Default constructor
XYTable(Int32) Create tables with specified size
XYTable(Double, Double) Constructor, using specified arrays

Properties

Count Number of items in table
Item Indexer.
MaximumX Maximum x value
MaximumY Maximum y value
MaximumYIndex Index of maximum y value
MinimumX Minimum x value
XAtMaximumY Value of x at maximum y
XValues Gets all the x values of the collection.
YValues Gets all the y values of the collection.

Methods

Clone Creates a copy of an instance.
DyDx Interpolates/extrapolates width using linear interpolation
EqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
FinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetTypeGets the Type of the current instance.
(Inherited from Object)
MemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Resize Resize table. Copy over data to new table
Set Set a value to the table
ToStringReturns a string that represents the current object.
(Inherited from Object)
Validate Validates the data. The only constraint is that the levels after sorting must be monotonically increasing.
XFromY(Double) Interpolates/extrapolates using linear interpolation
XFromY(Double, ExtrapolationTypes) Interpolates/extrapolates width using linear interpolation
YFromX(Double) Interpolates/extrapolates using linear interpolation
YFromX(Double, ExtrapolationTypes) Interpolates/extrapolates width using linear interpolation

Extension Methods

Set Set a value to the table
(Defined by GenericExtensions)
Sort Sort table by x-value, using a quick-sort algorithm
(Defined by GenericExtensions)
SortStable Sort table by x-value, using a stable sort
(Defined by GenericExtensions)
YFromX Interpolates/extrapolates width using linear interpolation
(Defined by XYSeriesExtensions)

See Also