Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
x - y の範囲に double がある場合、この double を新しい範囲 a - b にスケーリングするにはどうすればよいですか?
たとえば、-1 -> 1 から 0 -> 1 に変換します。
ありがとうマーティン