Dave Miller wrote: > Kevin Cameron wrote: >>> With this we could then simply use constant functions and then we >>> have a ready to go method to perform complex pre-simulation >>> initialisation. >> >> What's telling the compiler it's a constant function, and does it >> have to be? > > Any analog user defined function who's arguments are constant > (parameters, numbers) is a constant function, as they can be solved > pre-simulation with no dependencies on a matrix etc. > I would love to see more use of constant analog functions, if only as > an alternative to users writing function macro's to do the same thing. > As with all macro's in any language, debugging them can sometimes be a > challenge. I don't see the need for the function to be a constant or analog if it is just being used for initialization and is not inside an analog block. Kev. > > Cheers... > Dave > > >Received on Fri Dec 22 10:26:00 2006
This archive was generated by hypermail 2.1.8 : Fri Dec 22 2006 - 10:26:14 PST