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

# LUA scripting with complex variables (Current etc.)

- To: femm@yahoogroups.com
- Subject: LUA scripting with complex variables (Current etc.)
- From: dabelsteind@yahoo.com
- Date: Tue, 16 Oct 2001 18:06:59 -0000
- User-agent: eGroups-EW/0.82

    I am trying to write a LUA script file to output current as a
    function of frequency. When I define the LUA variable equal to the
    current (a complex value), the imaginary component of the current is
    lost. How do I work with complex numbers in LUA? The manual does
    not address this.

    Alternatively, is it possible to output the real and imaginary
    components of the current separately from FEMM.

    I am new to LUA, so I may be missing something really basic. Any help
    would be greatly appreciated.

    Don Dabelstein

- Follow-Ups:
  - RE: [femm] LUA scripting with complex variables (Current etc.)
    - From: "Robin Cornelius" <robin.cornelius@btinternet.com>

- Prev by Date: Re: [femm] power factor
- Next by Date: RE: [femm] LUA scripting with complex variables (Current etc.)
- Previous by thread: Re: [femm] power factor
- Next by thread: RE: [femm] LUA scripting with complex variables (Current etc.)
- Index(es):
  - Date
  - Thread