NDK_HIST_BIN_LIMIT

int __stdcall NDK_HIST_BIN_LIMIT ( double *  pData,
size_t  nSize,
size_t  nBins,
size_t  index,
WORD  argRetTYpe,
double *  retVal 
)

Returns the upper/lower limit or center value of the k-th histogram bin.

Returns
status code of the operation
Return values
NDK_SUCCESS Operation successful
NDK_FAILED Operation unsuccessful. See SFMacros.h for more details.
See Also
NDK_HISTOGRAM()
Parameters
[in] pData is the input data series (one/two dimensional array).
[in] nSize is the number of elements in pData.
[in] nBins is the input number of bins for the histogram.
[in] index is the bin index or order; e.g. 0=1st bin (default),1=2nd bin,..., N-1.
[in] argRetTYpe is a switch to select the return output (0=lower limit (default), 1=upper limit of the bin, 2=center of the bin).
[out] retVal is the computed value.
Namespace:  NumXLAPI
Class:  SFSDK
Scope:  Public
Lifetime:  Static
int NDK_HIST_BIN_LIMIT ( double[]  pData,
UIntPtr  nSize,
UIntPtr  nBins,
UIntPtr  index,
short  argRetTYpe,
ref double  retVal 
)

Returns the upper/lower limit or center value of the k-th histogram bin.

Return Value

a value from NDK_RETCODE enumeration for the status of the call. 

NDK_SUCCESS  operation successful
Error  Error Code
Parameters
[in] pData is the input data series (one/two dimensional array).
[in] nSize is the number of elements in pData.
[in] nBins is the input number of bins for the histogram.
[in] index is the bin index or order; e.g. 0=1st bin (default),1=2nd bin,..., N-1.
[in] argRetTYpe is a switch to select the return output (0=lower limit (default), 1=upper limit of the bin, 2=center of the bin).
[out] retVal is the computed value.
Examples

	
References
* Hamilton, J .D.; Time Series Analysis , Princeton University Press (1994), ISBN 0-691-04289-6
* Tsay, Ruey S.; Analysis of Financial Time Series John Wiley & SONS. (2005), ISBN 0-471-690740
* D. S.G. Pollock; Handbook of Time Series Analysis, Signal Processing, and Dynamics; Academic Press; Har/Cdr edition(Nov 17, 1999), ISBN: 125609906
* Box, Jenkins and Reisel; Time Series Analysis: Forecasting and Control; John Wiley & SONS.; 4th edition(Jun 30, 2008), ISBN: 470272848