Catalano.Math.Functions.Chaotic
Class TentMap
- java.lang.Object
-
- Catalano.Math.Functions.Chaotic.TentMap
-
- All Implemented Interfaces:
- IChaoticFunction
public class TentMap extends java.lang.Object implements IChaoticFunction
Tent map.
-
-
Constructor Summary
Constructors Constructor and Description TentMap()Initialize a new instance of the TentMap class.TentMap(double u, double threshold)Initialize a new instance of the TentMap class.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description doubleGenerate(double x)Generate a value from the chaotic function.double[]Generate(double initialState, int iterations)Generate a map from the chaotic function.
-
-
-
Constructor Detail
-
TentMap
public TentMap()
Initialize a new instance of the TentMap class.
-
TentMap
public TentMap(double u, double threshold)Initialize a new instance of the TentMap class.- Parameters:
u- Parameter u.threshold- Threshold.
-
-
Method Detail
-
Generate
public double Generate(double x)
Description copied from interface:IChaoticFunctionGenerate a value from the chaotic function.- Specified by:
Generatein interfaceIChaoticFunction- Parameters:
x- Value.- Returns:
- Value.
-
Generate
public double[] Generate(double initialState, int iterations)Description copied from interface:IChaoticFunctionGenerate a map from the chaotic function.- Specified by:
Generatein interfaceIChaoticFunction- Parameters:
initialState- Initial state (value).iterations- Number of iterations.- Returns:
- Chaotic map.
-
-
DataMelt 3.0 © DataMelt by jWork.ORG