mirror of
https://github.com/ncruces/go-sqlite3.git
synced 2026-01-12 05:59:14 +00:00
IEEE754 extension.
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
// Package hash provides cryptographic hash functions.
|
||||
//
|
||||
// Functions:
|
||||
// Provided functions:
|
||||
// - md4(data)
|
||||
// - md5(data)
|
||||
// - sha1(data)
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
// Package stats provides aggregate functions for statistics.
|
||||
//
|
||||
// Functions:
|
||||
// Provided functions:
|
||||
// - stddev_pop: population standard deviation
|
||||
// - stddev_samp: sample standard deviation
|
||||
// - var_pop: population variance
|
||||
@@ -9,8 +9,16 @@
|
||||
// - covar_samp: sample covariance
|
||||
// - corr: correlation coefficient
|
||||
//
|
||||
// These join the [Built-in Aggregate Functions]:
|
||||
// - count: count rows/values
|
||||
// - sum: sum values
|
||||
// - avg: average value
|
||||
// - min: minimum value
|
||||
// - max: maximum value
|
||||
//
|
||||
// See: [ANSI SQL Aggregate Functions]
|
||||
//
|
||||
// [Built-in Aggregate Functions]: https://sqlite.org/lang_aggfunc.html
|
||||
// [ANSI SQL Aggregate Functions]: https://www.oreilly.com/library/view/sql-in-a/9780596155322/ch04s02.html
|
||||
package stats
|
||||
|
||||
|
||||
45
ext/stats/todo.md
Normal file
45
ext/stats/todo.md
Normal file
@@ -0,0 +1,45 @@
|
||||
# ANSI SQL Aggregate Functions
|
||||
|
||||
https://www.oreilly.com/library/view/sql-in-a/9780596155322/ch04s02.html
|
||||
|
||||
## Built in
|
||||
|
||||
- [x] `COUNT(*)`
|
||||
- [x] `COUNT(expression)`
|
||||
- [x] `SUM(expression)`
|
||||
- [x] `AVG(expression)`
|
||||
- [x] `MIN(expression)`
|
||||
- [x] `MAX(expression)`
|
||||
|
||||
https://sqlite.org/lang_aggfunc.html
|
||||
|
||||
## Implemented
|
||||
|
||||
- [x] `STDDEV_POP(expression)`
|
||||
- [x] `STDDEV_SAMP(expression)`
|
||||
- [x] `VAR_POP(expression)`
|
||||
- [x] `VAR_SAMP(expression)`
|
||||
- [x] `COVAR_POP(dependent, independent)`
|
||||
- [x] `COVAR_SAMP(dependent, independent)`
|
||||
- [x] `CORR(dependent, independent)`
|
||||
|
||||
## Linear regression
|
||||
|
||||
- [ ] `REGR_AVGX(dependent, independent)`
|
||||
- [ ] `REGR_AVGY(dependent, independent)`
|
||||
- [ ] `REGR_COUNT(dependent, independent)`
|
||||
- [ ] `REGR_INTERCEPT(dependent, independent)`
|
||||
- [ ] `REGR_R2(dependent, independent)`
|
||||
- [ ] `REGR_SLOPE(dependent, independent)`
|
||||
- [ ] `REGR_SXX(dependent, independent)`
|
||||
- [ ] `REGR_SXY(dependent, independent)`
|
||||
- [ ] `REGR_SYY(dependent, independent)`
|
||||
|
||||
## Other
|
||||
|
||||
- [ ] `CUME_DIST(value_list) WITHIN GROUP (ORDER BY sort_list)`
|
||||
- [ ] `RANK(value_list) WITHIN GROUP (ORDER BY sort_list)`
|
||||
- [ ] `DENSE_RANK(value_list) WITHIN GROUP (ORDER BY sort_list)`
|
||||
- [ ] `PERCENT_RANK(value_list) WITHIN GROUP (ORDER BY sort_list)`
|
||||
- [ ] `PERCENTILE_CONT(percentile) WITHIN GROUP (ORDER BY sort_list)`
|
||||
- [ ] `PERCENTILE_DISC(percentile) WITHIN GROUP (ORDER BY sort_list)`
|
||||
11
ext/todo.txt
11
ext/todo.txt
@@ -1,13 +1,4 @@
|
||||
ieee754
|
||||
ieee754_exponent
|
||||
ieee754_from_blob
|
||||
ieee754_inc
|
||||
ieee754_mantissa
|
||||
ieee754_to_blob
|
||||
|
||||
zipfile
|
||||
zipfile_cds
|
||||
sqlar_compress
|
||||
sqlar_uncompress
|
||||
|
||||
remember
|
||||
sqlar_uncompress
|
||||
Reference in New Issue
Block a user