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, it is not binned and -1 is returned
If the data is smaller than first bin, it is not binned and -1 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