Extreme Optimization™: Complexity made simple.

Numerical Components
for .NET

  • Home
  • •
  • Features
    • Math Library
    • Vector and Matrix Library
    • Statistics Library
    • Performance
    • Usability
  • •
  • Documentation
    • Introduction
    • Math Library User's Guide
    • Vector and Matrix Library User's Guide
    • Statistics Library User's Guide
    • Reference
  • •
  • Support
    • Frequently Asked Questions
    • QuickStart Samples
    • Sample Applications
    • Downloads
  • •
  • Blog
  • •
  • Company
    • About us
    • Testimonials
    • Customers
    • Press Releases
    • Careers
    • Contact us
Introduction
Expand Mathematics Library User's GuideMathematics Library User's Guide
Expand Vector and Matrix Library User's GuideVector and Matrix Library User's Guide
Expand Statistics Library User's GuideStatistics Library User's Guide
Expand ReferenceReference
  • Home
  • Documentation
  • Reference
  • Extreme.Mathematics.Curves Namespace
  • PiecewiseCurve Class
  • Methods
  • SetDataPoint Method
Collapse imageExpand ImageCopy imageCopyHover image
       




PiecewiseCurve..::..SetDataPoint Method

PiecewiseCurve Class  See Also 
Sets the X value of the data point with the specified index.

Namespace:  Extreme.Mathematics.Curves
Assembly:  Extreme.Numerics.Net20 (in Extreme.Numerics.Net20.dll) Version: 3.6.10055.0 (3.6.10077.0)

Syntax

C#
public void SetDataPoint(
	int index,
	Point newValue
)
Visual Basic (Declaration)
Public Sub SetDataPoint ( _
	index As Integer, _
	newValue As Point _
)
Visual C++
public:
void SetDataPoint(
	int index, 
	Point newValue
)
F#
member SetDataPoint : 
        index:int * 
        newValue:Point -> unit 

Parameters

index
Type: System..::.Int32
A zero-based index.
newValue
Type: Extreme.Mathematics.Curves..::.Point
A Point structure.

Remarks

This method lets you set both the X-value and the Y-value of a data point at the same time. The new X-value must be such that the X values remain in ascending order. Otherwise, an ArgumentException is thrown.

Exceptions

ExceptionCondition
System..::.ArgumentOutOfRangeException index is less than zero or greater than NumberOfIntervals.
System..::.ArgumentException Setting the value to would cause the X values to no longer be in ascending order.

See Also

PiecewiseCurve Class
Extreme.Mathematics.Curves Namespace
PiecewiseCurve..::.GetXValue(Int32)
PiecewiseCurve..::.SetXValues(array<Int32>[]()[], array<Double>[]()[])
PiecewiseCurve..::.GetYValue(Int32)
PiecewiseCurve..::.SetYValue(Int32, Double)

Send comments on this topic to support@extremeoptimization.com

Copyright © 2003-2010, Extreme Optimization. All rights reserved.
Extreme Optimization, Complexity made simple, M#, and M Sharp are trademarks of ExoAnalytics Inc.
Microsoft, Visual C#, Visual Basic, Visual Studio, Visual Studio.NET, and the Optimized for Visual Studio logo
are registered trademarks of Microsoft Corporation.