These types define how a bell curve looks.
- The BellShape Type
- The BellShape Module
- The BellPosition Type
- The BellPosition Module
- Discriminated Union Identity Values
- Exception-free Processing
- Issues, Questions, and Suggestions
Note: Some combinations of bell shapes and bell positions may, as can be seen in the above graph, produce values which do not reach either down to 0.0 or up to +1.0, or both.
The BellShape type defines a discriminated union used to specify the shape of a bell curve.
The cases are:
| Case Name | Shape Of Bell |
|---|---|
| VeryThin | A very thin bell shape (more like a 'blip') |
| Thin | A thin bell shape |
| Medium *1 | A medium width bell shape |
| Wide | A wide bell shape |
| VeryWide | A very wide bell shape |
| ExtraWide | An extra-wide bell shape (more like a 'wave') |
- *1 : The default case.
To specify a bell shape simply supply its name, such as BellShape.Thin.
The BellShape module defines functions for working with bell shapes.
The functions are:
hexColourString: Returns a string containing the hex colour related to the shape, which can be used in some graphing APIs.
Note: This function will not be of much use for most people in most situations but it's there if needed.
The BellPosition type defines a discriminated union used to specify the position of a bell curve.
The cases are:
| Case Name | Position Of Bell |
|---|---|
| FullLeft | As far to the left (x-axis origin) as possible |
| WayLeft | Quite far to the left |
| Left | To the left |
| Middle *2 | In the middle |
| Right | To the right |
| WayRight | Quite far to the right |
| FullRight | As far to the right as possible |
- *2 : The default case.
To specify a bell position simply supply its name, such as BellPosition.Left.
The BellPosition module defines functions for working with bell positions.
The functions are:
hexColourString: Returns a string containing the hex colour related to the position, which can be used in some graphing APIs.
Note: This function will not be of much use for most people in most situations but it's there if needed.
Functions are available for converting to and from POCO types and DU cases. See the overview documentation for more information about these.
Exception-free processing versions - FailSafe, Option, and Result - of some functions are available. See the overview documentation for more information about these.
You can visit the QuickData.FSharp GitHub repository to report issues, ask questions, or make suggestions. You can also read about the changes across different versions in the release notes there.
