next up previous
Next: The other objects
Up: MM circuit example
Previous: MM circuit example

Inheriting from the amplifier

We then create a special kind of amplifier which feeds its output back into its input:

object amplifier_with_feedback {
  inherits( amplifier )
  input[0] = 1 &
  (t>0) input[t] = output[t-1]
}



Jocelyn Ireson-Paine
Sat Nov 28 17:42:14 GMT 1998