0.2.1 Gauss

This commit is contained in:
Rob Tillaart 2023-11-02 16:03:14 +01:00
parent e447899f0c
commit c915bc56c7
6 changed files with 25 additions and 8 deletions

View File

@ -6,6 +6,11 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/)
and this project adheres to [Semantic Versioning](http://semver.org/).
## [0.2.1] - 2023-11-02
- update readme.md
- minor edits.
## [0.2.0] - 2023-07-10
- improve performance => faster lookup.
- removed __z[] saves 136 bytes RAM
@ -18,7 +23,6 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
- update readme.md
- minor edits.
----
## [0.1.1] - 2023-07-07

View File

@ -1,7 +1,7 @@
//
// FILE: Gauss.cpp
// AUTHOR: Rob Tillaart
// VERSION: 0.2.0
// VERSION: 0.2.1
// PURPOSE: Library for the Gauss probability math.
// DATE: 2023-07-06

View File

@ -2,14 +2,14 @@
//
// FILE: Gauss.h
// AUTHOR: Rob Tillaart
// VERSION: 0.2.0
// VERSION: 0.2.1
// PURPOSE: Library for the Gauss probability math.
// DATE: 2023-07-06
#include "Arduino.h"
#define GAUSS_LIB_VERSION (F("0.2.0"))
#define GAUSS_LIB_VERSION (F("0.2.1"))
class Gauss
@ -18,7 +18,7 @@ public:
Gauss()
{
_mean = 0;
_reciprokeSD = 1;
_reciprokeSD = 1; // math optimization.
}
// stddev should be positive.

View File

@ -2,8 +2,11 @@
[![Arduino CI](https://github.com/RobTillaart/Gauss/workflows/Arduino%20CI/badge.svg)](https://github.com/marketplace/actions/arduino_ci)
[![Arduino-lint](https://github.com/RobTillaart/Gauss/actions/workflows/arduino-lint.yml/badge.svg)](https://github.com/RobTillaart/Gauss/actions/workflows/arduino-lint.yml)
[![JSON check](https://github.com/RobTillaart/Gauss/actions/workflows/jsoncheck.yml/badge.svg)](https://github.com/RobTillaart/Gauss/actions/workflows/jsoncheck.yml)
[![GitHub issues](https://img.shields.io/github/issues/RobTillaart/Gauss.svg)](https://github.com/RobTillaart/Gauss/issues)
[![License: MIT](https://img.shields.io/badge/license-MIT-green.svg)](https://github.com/RobTillaart/Gauss/blob/master/LICENSE)
[![GitHub release](https://img.shields.io/github/release/RobTillaart/Gauss.svg?maxAge=3600)](https://github.com/RobTillaart/Gauss/releases)
[![PlatformIO Registry](https://badges.registry.platformio.org/packages/robtillaart/library/Gauss.svg)](https://registry.platformio.org/libraries/robtillaart/Gauss)
# Gauss
@ -195,3 +198,13 @@ ESP32, 240 MHz, IDE 1.8.19
- **void setStddev(float f)** can be done with begin()
- optimize accuracy
- (-6 .. 0) might be more accurate (significant digits)?
## Support
If you appreciate my libraries, you can support the development and maintenance.
Improve the quality of the libraries by providing issues and Pull Requests, or
donate through PayPal or GitHub sponsors.
Thank you,

View File

@ -15,9 +15,9 @@
"type": "git",
"url": "https://github.com/RobTillaart/Gauss.git"
},
"version": "0.2.0",
"version": "0.2.1",
"license": "MIT",
"frameworks": "arduino",
"frameworks": "*",
"platforms": "*",
"headers": "Gauss.h"
}

View File

@ -1,5 +1,5 @@
name=Gauss
version=0.2.0
version=0.2.1
author=Rob Tillaart <rob.tillaart@gmail.com>
maintainer=Rob Tillaart <rob.tillaart@gmail.com>
sentence=Library for the Gauss probability math.