public final class MathUtil
extends java.lang.Object
| 修飾子とタイプ | メソッドと説明 | 
|---|---|
| static float | cos(float angle)コサインを取得します. | 
| static float[] | createSinWaveArray(float fq,
                  float mag,
                  float max)サイン波を格納した単精度配列を作成します. | 
| static float[] | createSinWaveArray(float fq,
                  float mag,
                  float max,
                  boolean reverse)サイン波を格納した単精度配列を作成します. | 
| static float | sin(float angle)サインを取得します. | 
public static float[] createSinWaveArray(float fq,
                                         float mag,
                                         float max)
fq - サイン波の周波数.mag - 拡大倍率.max - θの最大値.public static float[] createSinWaveArray(float fq,
                                         float mag,
                                         float max,
                                         boolean reverse)
fq - サイン波の周波数.mag - 拡大倍率.max - θの最大値.reverse - trueを指定すると波形を逆順にソートします.public static float sin(float angle)
angle - 度数法の角度を送信します。public static float cos(float angle)
angle - 度数法の角度を送信します。