|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Object common:Generic common:Formula common:DivergentFormula mmf:MMF_SwitchDivergentFormula mmf:MMF_SwitchBeta
class
Switchable Beta(z,c).
class MMF_SwitchBeta(MMF_SwitchDivergentFormula) { ; ; Switchable Beta(z,c).<br> ; public: import "common.ulb" ; @param pparent the parent, generally "this" for the parent, or zero func MMF_SwitchBeta(Generic pparent) MMF_SwitchDivergentFormula.MMF_SwitchDivergentFormula(pparent) endfunc complex func Iterate(complex pz) return Math.ComplexBeta(pz,fConstant) endfunc default: title = "Switch Beta" bool param p_addpixel caption = "Offset z start" default = true hint = "When enabled the z start value (in Mandelbrot mode) is offset \ by the constant for the current position - normally '#pixel'." visible = !@p_manual || @p_mandy endparam complex param p_power visible = false endparam }
Constructor Summary | |
---|---|
MMF_SwitchBeta()
|
|
MMF_SwitchBeta(Generic pparent)
|
Method Summary | |
---|---|
complex |
Iterate(complex pz)
Produce the next value in the sequence |
Methods inherited from class mmf:MMF_SwitchDivergentFormula |
---|
Init, SetParams |
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 MMF_SwitchBeta(Generic pparent)
pparent
- the parent, generally "this" for the parent, or zeropublic MMF_SwitchBeta()
Method Detail |
---|
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 |