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ルーチンで使うための関数を加えたもの

関連項目:
Complex

フィールドの概要
 
クラス jp.ac.nime.computer.grpsimulator.ImgPr.Complex から継承したフィールド
im_, re_
 
コンストラクタの概要
ComplexF()
          コンストラクタ
ComplexF(double r, double i)
           
 
メソッドの概要
 jp.ac.nime.computer.grpsimulator.ImgPr.ComplexF fftfunc(double co, double si)
          fft用のサブファンクション
static jp.ac.nime.computer.grpsimulator.ImgPr.ComplexF sub(jp.ac.nime.computer.grpsimulator.ImgPr.ComplexF a, jp.ac.nime.computer.grpsimulator.ImgPr.ComplexF b)
          減算 a - b
static void swap(jp.ac.nime.computer.grpsimulator.ImgPr.ComplexF a, jp.ac.nime.computer.grpsimulator.ImgPr.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 jp.ac.nime.computer.grpsimulator.ImgPr.ComplexF fftfunc(double co,
                                                               double si)
fft用のサブファンクション

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

swap

public static void swap(jp.ac.nime.computer.grpsimulator.ImgPr.ComplexF a,
                        jp.ac.nime.computer.grpsimulator.ImgPr.ComplexF b)
スワップ

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

sub

public static jp.ac.nime.computer.grpsimulator.ImgPr.ComplexF sub(jp.ac.nime.computer.grpsimulator.ImgPr.ComplexF a,
                                                                  jp.ac.nime.computer.grpsimulator.ImgPr.ComplexF b)
減算 a - b

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