org.mklab.nfc.random
クラス ComplexScalarRandom<T extends NumericalScalar<T>>

java.lang.Object
  上位を拡張 org.mklab.nfc.random.ComplexScalarRandom<T>
型パラメータ:
T - 実部と虚部の型
すべての実装されたインタフェース:
RandomGenerator<ComplexScalar<T>>

public class ComplexScalarRandom<T extends NumericalScalar<T>>
extends Object
implements RandomGenerator<ComplexScalar<T>>

0〜1の範囲の倍精度複素数一様乱数生成器を表わすクラスです。

バージョン:
$Revision: 1.2 $, 2008/03/09
作成者:
koga

コンストラクタの概要
ComplexScalarRandom(T value)
          新しく生成されたComplexScalarRandomオブジェクトを初期化します。
 
メソッドの概要
 ComplexScalar<T> nextValue()
          次の乱数を返します。
 void setSeed(long seed)
          乱数生成器の種を設定します。
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

ComplexScalarRandom

public ComplexScalarRandom(T value)
新しく生成されたComplexScalarRandomオブジェクトを初期化します。

パラメータ:
value - 実部と虚部の型を表わすための値
メソッドの詳細

nextValue

public ComplexScalar<T> nextValue()
インタフェース RandomGenerator の記述:
次の乱数を返します。

定義:
インタフェース RandomGenerator<ComplexScalar<T extends NumericalScalar<T>>> 内の nextValue
戻り値:
次の乱数
関連項目:
RandomGenerator.nextValue()

setSeed

public void setSeed(long seed)
インタフェース RandomGenerator の記述:
乱数生成器の種を設定します。

定義:
インタフェース RandomGenerator<ComplexScalar<T extends NumericalScalar<T>>> 内の setSeed
パラメータ:
seed - 乱数生成器の種
関連項目:
RandomGenerator.setSeed(long)