DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR CPP
algorithm map values
To map [A, B] --> [a, b] use this formula (val - A)*(b-a)/(B-A) + a
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#algorithm
#map
#values
ADD COMMENT
Topic
COMMENT
Name
2+4 =
Submit