C# Class Encog.ML.Data.Basic.BasicMLComplexData

Inheritance: IMLComplexData
Mostra file Open project: encog/encog-silverlight-core

Public Methods

Method Description
BasicMLComplexData ( ComplexNumber d ) : System

Construct this object with the specified data. Use complex numbers.

BasicMLComplexData ( IMLData d ) : System

Construct a new BasicMLData object from an existing one. This makes a copy of an array. If MLData is not complex, then only reals will be created.

BasicMLComplexData ( double d ) : System

Construct this object with the specified data. Use only real numbers.

BasicMLComplexData ( int size ) : System

Construct this object with blank data and a specified size.

Clear ( ) : void

Clear all values to zero.

Clone ( ) : Object
GetComplexData ( int index ) : ComplexNumber
SetComplexData ( ComplexNumber d ) : void

Set the complex data array.

SetComplexData ( int index, ComplexNumber d ) : void

Set a data element to a complex number.

ToString ( ) : String
this ( int x ) : double

Access the data by index.

Method Details

BasicMLComplexData() public method

Construct this object with the specified data. Use complex numbers.
public BasicMLComplexData ( ComplexNumber d ) : System
d Encog.MathUtil.ComplexNumber The data to construct this object with.
return System

BasicMLComplexData() public method

Construct a new BasicMLData object from an existing one. This makes a copy of an array. If MLData is not complex, then only reals will be created.
public BasicMLComplexData ( IMLData d ) : System
d IMLData The object to be copied.
return System

BasicMLComplexData() public method

Construct this object with the specified data. Use only real numbers.
public BasicMLComplexData ( double d ) : System
d double The data to construct this object with.
return System

BasicMLComplexData() public method

Construct this object with blank data and a specified size.
public BasicMLComplexData ( int size ) : System
size int The amount of data to store.
return System

Clear() public method

Clear all values to zero.
public Clear ( ) : void
return void

Clone() public method

public Clone ( ) : Object
return Object

GetComplexData() public method

public GetComplexData ( int index ) : ComplexNumber
index int
return Encog.MathUtil.ComplexNumber

SetComplexData() public method

Set the complex data array.
public SetComplexData ( ComplexNumber d ) : void
d Encog.MathUtil.ComplexNumber A new complex data array.
return void

SetComplexData() public method

Set a data element to a complex number.
public SetComplexData ( int index, ComplexNumber d ) : void
index int The index to set.
d Encog.MathUtil.ComplexNumber The complex number.
return void

ToString() public method

public ToString ( ) : String
return String

this() public method

Access the data by index.
public this ( int x ) : double
x int The index to access.
return double