Re: [NTG-context] new (lmtx) beta
![](https://secure.gravatar.com/avatar/ecffc5c1eb6692198d091ee98e921822.jpg?s=120&d=mm&r=g)
Dear Hans, I read the manual of luametafun and do some examples. Thanks for many new features. It is really great. I’d like to ask two things. 1. On page 26,27, in the manual,
http://www.pragma-ade.com/general/manuals/luametafun.pdf http://www.pragma-ade.com/general/manuals/luametafun.pdf
a function name of the graphics are appeared as same as in the argument ‘function = “x^2 + y^2”’. Though it calculates function using “x^2 + y^2”, it is better to write the name of it as the output of $x^2 + y^2$. Is it possible to write it as in mathematical form? 2. To define a mathematical function, it uses “function = “ in Contour, while it uses “code = “ in Surfaces and in Functions. Is there any reason to use two different names “function” and “code” to define functions? Thank you again. Best regards, Dalyoung
![](https://secure.gravatar.com/avatar/46562c7d27388490d62e8d7a5bc960dd.jpg?s=120&d=mm&r=g)
On 10/11/2019 4:09 PM, Jeong Dal wrote:
Dear Hans,
I read the manual of luametafun and do some examples. Thanks for many new features. It is really great.
I’d like to ask two things.
1. On page 26,27, in the manual,
a function name of the graphics are appeared as same as in the argument ‘function = “x^2 + y^2”’. Though it calculates function using “x^2 + y^2”, it is better to write the name of it as the output of $x^2 + y^2$. Is it possible to write it as in mathematical form?
functionstyle = "math",
2. To define a mathematical function, it uses “function = “ in Contour, while it uses “code = “ in Surfaces and in Functions. Is there any reason to use two different names “function” and “code” to define functions? we can still decide as it's beta ...
function | functions or code | codelist (it's basically lua code ...) i have no preference and as you're the first to bring it up you may decide ... (unless others can convince you otherwise) Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl -----------------------------------------------------------------
![](https://secure.gravatar.com/avatar/ecffc5c1eb6692198d091ee98e921822.jpg?s=120&d=mm&r=g)
Dear Hans,
Though it calculates function using “x^2 + y^2”, it is better to write the name of it as the output of $x^2 + y^2$. Is it possible to write it as in mathematical form?
functionstyle = "math”,
It works nicely.
Is there any reason to use two different names “function” and “code” to define functions? we can still decide as it's beta ...
function | functions
or
code | codelist
(it's basically lua code ...)
i have no preference and as you're the first to bring it up you may decide ... (unless others can convince you otherwise)
I think that it is better to use the same name if there is no special reason to distinguish, and I prefer to use “function | functions”. However, I am OK whether you keep both or choose one. Thank you and your team again. Best regards, Dalyoung
participants (2)
-
Hans Hagen
-
Jeong Dal