public class DividedDifferences extends Object
| Constructor and Description |
|---|
DividedDifferences(OrderedPairs pairs)
Construct divided differences from a given collection of ordered pairs.
|
DividedDifferences(SortedOrderedPairs sortedPairs)
Construct divided differences from a given sorted collection of ordered pairs.
|
| Modifier and Type | Method and Description |
|---|---|
double |
getDifference(int order)
Get the divided difference of the given order.
|
int |
maxOrder()
Get the maximum order which is limited by the number of points given for the computation.
|
public DividedDifferences(OrderedPairs pairs)
pairs - the collection of ordered pairspublic DividedDifferences(SortedOrderedPairs sortedPairs)
sortedPairs - the sorted collection of ordered pairspublic double getDifference(int order)
order - the order of divided differencepublic int maxOrder()
Copyright © 2010-2020 NM FinTech Ltd.. All Rights Reserved.