Data update
This commit is contained in:
parent
4bb20c9b71
commit
cbaf4c4b64
12390 changed files with 318560 additions and 27248 deletions
5
Task/Map-range/Emacs-Lisp/map-range.el
Normal file
5
Task/Map-range/Emacs-Lisp/map-range.el
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
(defun maprange (a1 a2 b1 b2 s)
|
||||
(+ b1 (/ (* (- s a1) (- b2 b1)) (- a2 a1))))
|
||||
|
||||
(dotimes (i 10)
|
||||
(message "%s" (maprange 0.0 10.0 -1.0 0.0 i)))
|
||||
Loading…
Add table
Add a link
Reference in a new issue