|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Object common:Generic common:Formula common:DivergentFormula mt:DivergentManyJulia mt:MT_ManyJulia
class
Mark Townsend, June 2008
class MT_ManyJulia(DivergentManyJulia) { ; ; Mark Townsend, June 2008 ; public: complex func Init(complex pz) return DivergentManyJulia.Init(pz) endfunc complex func Iterate(complex pz) return pz^@p_power + m_seed endfunc default: title = "Many Julia" param p_power caption = "Power" default = (2,0) endparam float param p_bailout caption = "Bailout value" default = 128.0 min = 1.0 exponential = true endparam }
Constructor Summary | |
---|---|
MT_ManyJulia()
|
Method Summary | |
---|---|
complex |
Init(complex pz)
Set up for a sequence of values |
complex |
Iterate(complex pz)
Produce the next value in the sequence |
Methods inherited from class common:DivergentFormula |
---|
GetUpperBailout, IsBailedOut |
Methods inherited from class common:Formula |
---|
GetLowerBailout, GetPrimaryExponent |
Methods inherited from class common:Generic |
---|
GetParent |
Methods inherited from class Object |
---|
|
Constructor Detail |
---|
public MT_ManyJulia()
Method Detail |
---|
public complex Init(complex pz)
DivergentFormula
This function will be called at the beginning of each sequence of values (e.g. at the beginning of each fractal orbit).
Init
in class DivergentManyJulia
pz
- seed value for the sequence; for a normal fractal formula, this will be #pixel
public complex Iterate(complex pz)
Formula
As long as the sequence has not bailed out, this function will be continually called to produce sequence values.
Iterate
in class Formula
pz
- previous value in the sequence; corresponds to #z in a fractal formula. Note that you should always use this value for computing the next iteration, rather than a saved value, as the calling code may modify the returned value before passing it back to the next Iterate() call.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |