[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

# Re: [femm] some questions with lua

- To: femm@yahoogroups.com
- Subject: Re: [femm] some questions with lua
- From: Keith Gregory <k.gregory@lboro.ac.uk>
- Date: Thu, 17 Oct 2002 08:54:14 +0100
- In-reply-to: <20021015080522.22678.qmail@web11005.mail.yahoo.com>

`At 10:05 15/10/2002 +0200, you wrote:`

>     Hello femm group,
>     I have some questions in relation with lua :

>     - Is it possible to define vectors and matrices with
>     lua?

`
Not in a conventional sense, Lua uses a construct called a table which allows sets of data to be used in a similar way to a vector or matrix.`

>     - Can we define some functions when using lua
>     (exponential, cosine,........)?

`
Yes, most of the standard mathematical functions are supported.`

> `- Is it also possible to work with complex variables?`

`
Not directly, but it would be relatively straightforward to write functions to deal with them.`
`The documentation available from www.lua.org would be useful to you.`
`Keith.`

- References:
  - some questions with lua
    - From: smaïl mezani <s_mezani@yahoo.fr>

- Prev by Date: Re: [femm] permanent magnet synchronuos machine with femm
- Next by Date: Re: [femm] lua script
- Previous by thread: some questions with lua
- Next by thread: reducing residual magnetism
- Index(es):
  - Date
  - Thread