jp.ac.nime.computer.grpsimulator.ImgPr
クラス ComplexF

java.lang.Object
  拡張jp.ac.nime.computer.grpsimulator.ImgPr.Complex
      拡張jp.ac.nime.computer.grpsimulator.ImgPr.ComplexF

public class ComplexF
extends Complex

複素数を表す単純クラス その2 FFTルーチンで使うための関数を加えたもの

作成者:
Kikuchi
関連項目:
Complex

フィールドの概要
 
クラス jp.ac.nime.computer.grpsimulator.ImgPr.Complex から継承したフィールド
im_, re_
 
コンストラクタの概要
ComplexF()
          コンストラクタ
ComplexF(double r, double i)
           
 
メソッドの概要
 ComplexF fftfunc(double co, double si)
          fft用のサブファンクション
static ComplexF sub(ComplexF a, ComplexF b)
          減算 a - b
static void swap(ComplexF a, ComplexF b)
          スワップ
 
クラス jp.ac.nime.computer.grpsimulator.ImgPr.Complex から継承したメソッド
getImag, getReal, plus, plus, scaleDown, scaleUp, set, sub, sub
 
クラス java.lang.Object から継承したメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

ComplexF

public ComplexF()
コンストラクタ


ComplexF

public ComplexF(double r,
                double i)
メソッドの詳細

fftfunc

public ComplexF fftfunc(double co,
                        double si)
fft用のサブファンクション

パラメータ:
co - cos(arg)
si - sin(arg)
戻り値:
計算結果のComplexF

swap

public static void swap(ComplexF a,
                        ComplexF b)
スワップ

パラメータ:
a - 要素A
b - 要素B

sub

public static ComplexF sub(ComplexF a,
                           ComplexF b)
減算 a - b

パラメータ:
a - 要素A
b - 要素B