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.
線形浮動小数点数(0から1)の曲線を計算し、結果として別の浮動小数点数を取得するにはどうすればよいですか?私が欲しいのは、半分(0..0.5)までで、対数が逆になり、与えられた線形値に従って曲線のように対数になるよりも高くなることです。
したがって、探しているのは実行する関数です。
double x, y; y = 1.0 / log(x) {x = 0 .. 0.5} log(x) {x = 0.5 .. 1}
??
また:
y = exp(x) {x = 0 .. 0.5}