Results 1 to 3 of 3

Thread: Python and APLX

  1. #1
    Junior Member
    Join Date
    Aug 2008

    Python and APLX

    My main programming language is APL. Now I have found that Python is interesting just because of the existence of PyIMSL.

    Could somebody help me to use PyIMSL from APLX? I know, how to start using statistical R-language. It is easy:

    'x' #wi 'New' 'StatConnectorSrv.StatConnector'
    'x' #wi 'Init' 'R'
    'x' #wi 'Evaluate' '1+1'

    Explanation of the above statements: I have used # instead of box-symbol
    The last command does an R-command.
    #wi is a windows interface-function of aplx.

    I have now given an example of using R. Could somebody say or guess, how to use Python in a similar simple way from aplx?

    See also:

  2. #2
    Junior Member gholling's Avatar
    Join Date
    Aug 2005
    Well, I haven't written APL for a while, and I haven't used the "wi" command at all, but something like this might work:

    'x' #wi 'New' 'StatConnectorSrv.StatConnector'
    'x' #wi 'Init' 'python'
    'x' #wi 'from numpy import array'
    'x' #wi 'from imsl.math.writeMatrix import writeMatrix'
    'x' #wi 'a=array([5,3])'
    'x' #wi 'writeMatrix("A",a)'

  3. #3
    Junior Member
    Join Date
    Aug 2008

    Good guess but ...

    Thank you for a good guess that unfortunatelly did not work.
    I shall send your guess to Microapl (at ).

    I use aplx and apl+win for testing PyIMSL programs. In that way it is easier to program because I am an old apl user since 1976. Now I have a time series test website (mostly for myself) at .
    It is open every now and then. I can compare imsl, forecastx, forecastpro, autobox. R-programs and my own programs.


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts