Virtual Photonics
Assembly: Vts (in Vts.dll) Version: 1.0.12.0 (1.0.12)
Int32
WhichBin determines which uniform bin "value" is in.
If data is beyond last bin, the last bin is returned.
If the data is smaller than first bin, the first bin is returned.
This assumes bins are contiguous.
Namespace: Vts.MonteCarlo.HelpersAssembly: Vts (in Vts.dll) Version: 1.0.12.0 (1.0.12)
Syntax
Parameters
- value
- Type:
System Double
value to be binned
- numberOfBins
- Type:
System Int32
size of array
- binSize
- Type:
System Double
bin size
- binStart
- Type:
System Double
starting location of binning
Return Value
Type:
See Also