org.encog.ml.data
public interface MLComplexData extends MLData
Modifier and Type | Method and Description |
---|---|
void |
add(int index,
ComplexNumber value)
Add a complex number to the specified index.
|
ComplexNumber[] |
getComplexData() |
ComplexNumber |
getComplexData(int index)
Get the complex data at the specified index.
|
void |
setData(ComplexNumber[] theData) |
void |
setData(int index,
ComplexNumber d)
Set a data element to a complex number.
|
add, clear, clone, getData, getData, setData, setData, size
createCentroid
void add(int index, ComplexNumber value)
index
- The index to use.value
- The complex number value to add.ComplexNumber[] getComplexData()
ComplexNumber getComplexData(int index)
index
- The index to get the complex data at.void setData(ComplexNumber[] theData)
theData
- Set the complex data array.void setData(int index, ComplexNumber d)
index
- The index to set.d
- The complex number.Copyright © 2014. All Rights Reserved.