[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gnucap-devel] Eqn feasibility
From: |
Felix Salfelder |
Subject: |
[Gnucap-devel] Eqn feasibility |
Date: |
Tue, 17 Feb 2015 19:31:32 +0100 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
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
- [Gnucap-devel] Eqn feasibility,
Felix Salfelder <=