Virtual Photonics
Assembly: Vts (in Vts.dll) Version: 1.0.12.0 (1.0.12)
Int32
WhichBin determines which bin "value" is in given a list of bin centers and bin sizes.
If value not in any bin, -1 returned.
This allows for non-contiguous bins and nonuniformly spaced bins.
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
- binSize
- Type:
System Double
bin size
- binCenters
- Type:
System Double
list of bin centers
Return Value
Type:
See Also