Announcement

Collapse
No announcement yet.

Complex functions

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Complex functions

    Anyone have complex operators including powers and roots for powerbasic? I am running the console compiler.

    My main interest is Monte Carlo simulation using the L-stable [e.g. Gaussian, Cauchy] distributions. I have the general L-stable characteristic equation, but this involves complex numbers including fraction roots and logs[e].

    Would there be any interest in the community for a program to display the L-stable curves as you vary the alpha-delta parameters, possibly generating an area under the curve table similar to the normal/Gausian Z tables?
    23
    none -- no use to me
    34.78%
    8
    academic interest only
    30.43%
    7
    might be very useful
    26.09%
    6
    very important
    8.70%
    2

    The poll is expired.

    Unka' George

  • #2
    On your question...
    Anyone have complex operators including powers and roots for powerbasic? I am running the console compiler.
    .. I will give you the same answer I gave in alt.lang.powerbasic:
    The PowerBASIC Console Compiler directly supports powers and roots by means
    of either A) the exponentiation operator "^" or B) combining the logarithm
    and exponentiation functions (LOG, LOG2 and LOG10, EXP, EXP2 and EXP10) with
    the multiplication and division operators "*/" and "/"
    MCM
    Michael Mattias
    Tal Systems Inc. (retired)
    Racine WI USA
    [email protected]
    http://www.talsystems.com

    Comment


    • #3
      George,
      Anyone have complex operators including powers and roots for powerbasic?
      They don't look difficult to implement:
      http://home.att.net/~srschmitt/complexnumbers.html

      Paul.

      Comment


      • #4
        I have since learned the question refers to "complex [number] operands" rather than "complex operators"

        Therefore my original reply is not on point.
        Michael Mattias
        Tal Systems Inc. (retired)
        Racine WI USA
        [email protected]
        http://www.talsystems.com

        Comment


        • #5
          Would there be any interest in the community for a program to display the L-stable curves as you vary the alpha-delta parameters, possibly generating an area under the curve table similar to the normal/Gausian Z tables?
          I would love to see your work!
          "The trouble with quotes on the Internet is that you can never know if they are genuine." - Abraham Lincoln.

          Comment

          Working...
          X