Releases: DiamondLightSource/numcertain
Releases · DiamondLightSource/numcertain
Array Getters & Refactored API
Equality and inequality
Added:
- Equality & inequality for the
uncertain
python type & numpy dtype - Tests covering all aspects of the
uncertain
python type & numpy dtype - A
nominal
anduncertainty
property to theuncertain
python type
Fixed:
- Relaxed unnecessarily strict dev dependencies
- Documentation surrounding the computation of uncertainties for multiplication and division
Removed:
- Casts to & from the numpy
float16
type
Initial Release
Initial release of the numcertain package, supporting the following features:
- Storage and retrieval of uncertain values with the uncertain type
- Instantiation of uncertain values with pairs or single ints or floats
- Basic arithmetic with uncertain values (addition, subtraction, multiplication & division)
- Conversion to and from ints and floats
- Hashing of uncertain values
- Pretty printing of uncertain values
- Retrieval of nominal and uncertain components
- Basic arithmetic with numpy arrays of uncertain values (addition, subtraction, multiplication & division)