|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Objectcommon:Generic
common:Transform
common:UserTransform
mmf:MMF_PowerFunctions
class
fn(z)^power
class MMF_PowerFunctions(common.ulb:UserTransform) {
; fn(z)^power<br>
public:
import "common.ulb"
; @param pparent the parent, generally "this" for the parent, or zero
func MMF_PowerFunctions(Generic pparent)
UserTransform.UserTransform(pparent)
endfunc
complex func Iterate(complex pz)
; m_Iterations = m_Iterations + 1 not used in this transform
return @p_fn(pz)^@p_power
endfunc
default:
title = "Power Functions"
heading
text = "Simply function(z)^power."
endheading
func p_fn
caption = "Function to use"
default = ident()
hint = "For most applications it's best not to use 'cabs'."
endfunc
complex param p_power
caption = "Power"
default = (2,0)
endparam
}
| Constructor Summary | |
|---|---|
MMF_PowerFunctions()
|
|
MMF_PowerFunctions(Generic pparent)
|
|
| Method Summary | |
|---|---|
complex |
Iterate(complex pz)
Transform a single point within a sequence |
| Methods inherited from class common:Transform |
|---|
Init, IsSolid, IterateSilent |
| Methods inherited from class common:Generic |
|---|
GetParent |
| Methods inherited from class Object |
|---|
|
| Constructor Detail |
|---|
public MMF_PowerFunctions(Generic pparent)
pparent - the parent, generally "this" for the parent, or zeropublic MMF_PowerFunctions()
| Method Detail |
|---|
public complex Iterate(complex pz)
TransformAfter a sequence has been set up with Init(), this function will be called once for each value in the sequence. Note that all values in the sequence must be processed in order (they cannot be processed out of order). If the sequence contains only one value, Init() will still be called and then Iterate() will be called just once.
Iterate in class Transformpz - the complex value to be transformed
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||