-
Notifications
You must be signed in to change notification settings - Fork 88
list normalize
Chris Petersen edited this page Oct 16, 2014
·
1 revision
list-normalize normalizes a list. This assigns the smallest element to 0, the largest element to 1 and scales the others accordingly.
Parameter | Description |
---|---|
lst | List to operate on |
Example 1: Normalize a list of values from 1-9 to a range of 0-1
> (define lst '(1 2 3 4 5 6 7 8 9))
> (list-normalize lst)
(0 1/8 1/4 3/8 1/2 5/8 3/4 7/8 1)
-
- accelerometer
- alist
- audio
- audioaux
- base64
- btle-scan
- camera
- cdb
- cgi
- config
- csv
- curl
- digest
- dmtx
- download
- eventloop
- fcgi
- fft
- generalized-arrays
- gps
- graph
- gyro
- hidapi
- hpdf
- html
- httpsclient
- hybridapp
- json
- lmdb
- ln_core
- ln_glcore
- ln_glgui
- ln_store
- localization
- localization_gui
- localnotification
- magnetometer
- mdns
- mqtt
- mqtt-store
- multitouch
- oauth
- orientation
- p256ecdsa
- png
- portaudio
- pregexp
- pressure
- prime
- pushnotification
- redcap
- rsa
- rtaudio
- rupi
- rotation
- sanestring
- scheduler
- serial
- sets
- settings
- simplexnoise
- sqlite
- ssax
- syntax-case
- timestamp
- ttf
- uiform
- url
- uuid
- vibrate
- videoplayer
- watchdog
- website
- xml
- zip