public class Dbracket
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected int |
CurrentIndex |
protected DblMatrix |
X |
Constructor and Description |
---|
Dbracket(DblMatrix X)
Construct a bracketing
|
Modifier and Type | Method and Description |
---|---|
int[] |
bracket(DblMatrix xx)
Find a bracketing interval about a given data point.
|
int[] |
getCenteredIndexWindow(int m)
Return a window of m points centered about the CurrentIndex.
|
int[] |
getCenteredIndexWindow(int j,
int m)
Return a window of m points centered about index k.
|
int[] |
getCenteredWindow(DblMatrix xx,
int m)
Return a window of m points centered about the value X.
|
int |
getCurrentIndex()
Return the current starting index for the search.
|
int |
getTotalDataCount() |
int[] |
hunt(DblMatrix xx)
Return a single index bracket of a scalar X.
|
void |
setCurrentIndex(int v)
Set the current starting index for the search.
|
protected DblMatrix X
protected int CurrentIndex
public Dbracket(DblMatrix X)
public int getTotalDataCount()
public int getCurrentIndex()
public void setCurrentIndex(int v)
public int[] bracket(DblMatrix xx)
public int[] hunt(DblMatrix xx)
public int[] getCenteredWindow(DblMatrix xx, int m)
public int[] getCenteredIndexWindow(int j, int m)
public int[] getCenteredIndexWindow(int m)
Copyright © 2011, 2013. Daniel P. Dougherty