Eqn feasibility

Felix Salfelder <[email protected]>
Newsgroups gmane.comp.gnu.gnucap.devel
Message-ID <[email protected]>
On Mon, Feb 16, 2015 at 12:35:16AM +0100, Guilherme Brondani Torri wrote:
> See: http://qucs-help.readthedocs.org/en/qucs-0.0.18/mathfunc.html

this is possible, i just pushed a draft for Eqn.

with this

"""
load lang_qucs.so
load d_eqn.so
parameter a=3
parameter b={foo+1}
qucs
Eqn:Eq1 foo="1+2" bar="foo+a" baz="time*time" more="b+baz+bar"
acs
print tran foo(Eq1) baz(Eq1) more(Eq1)
tran 0 1 .5 trace=a
end
"""

i essentially get
"""
#Time       foo(Eq1)   baz(Eq1)   more(Eq1) 
 0.         3.         0.         10.       
 0.005      3.         25.u       10.       
 0.5        3.         0.25       10.25     
 1.         3.         1.         11.       
"""

this is based on plain PARAMETERs and PARAM_LISTs. no rocket science. if
you want speed, hook up a jit compiler :)

however, some details are open, e.g. access to probes...

have fun
felix
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.