how to get the variable list like in the equations spec
Posted: Tue Jul 01, 2014 8:04 pm
hi all,
I want to get this result
eq_m.@method name
LOG(M) LOG(Y) LOG(E) EC_M
but
eq_m.@varlist
only give me this
LOG(M) Y E EC_M
this my spec and substituted equations
eq_m.@spec
LOG(M)=C_M(1)*LOG(Y)+C_M(2)*LOG(E)+C_M(3) +EC_M
eq_m.@subst
LOG(M)=2.31873071534*LOG(Y)-1.92167062414*LOG(E)+7.28343455044 +EC_M
eq_m.@coeflist
C_M(1) C_M(2) C_M(3)
My final target is to transform
LOG(M)=2.31873071534*LOG(Y)-1.92167062414*LOG(E)+7.28343455044 +EC_M
into
EC_M=LOG(M)=2.31873071534*LOG(Y)-1.92167062414*LOG(E)+7.28343455044
Is there any alternative function for the varlist, so I don't have to do it the hard way
Thank you very much.
regards,
ginanjar
I want to get this result
eq_m.@method name
LOG(M) LOG(Y) LOG(E) EC_M
but
eq_m.@varlist
only give me this
LOG(M) Y E EC_M
this my spec and substituted equations
eq_m.@spec
LOG(M)=C_M(1)*LOG(Y)+C_M(2)*LOG(E)+C_M(3) +EC_M
eq_m.@subst
LOG(M)=2.31873071534*LOG(Y)-1.92167062414*LOG(E)+7.28343455044 +EC_M
eq_m.@coeflist
C_M(1) C_M(2) C_M(3)
My final target is to transform
LOG(M)=2.31873071534*LOG(Y)-1.92167062414*LOG(E)+7.28343455044 +EC_M
into
EC_M=LOG(M)=2.31873071534*LOG(Y)-1.92167062414*LOG(E)+7.28343455044
Is there any alternative function for the varlist, so I don't have to do it the hard way
Thank you very much.
regards,
ginanjar