Menu

#244 User created arrays

Backlog
open
nobody
None
2Critical
2024-02-07
2024-02-07
Steve Keen
No

This is related to the bug report #457--which was intended to be a demo of this desired feature before the bug.

This tool would enable a user to create an array of data within Ravel, rather than having to import data all the time. In the case I was using, I wanted an index dimension (in this case, from index 1 to 50--could starting with 1 instead of 0 have been a cause of the bug?), with a linked data dimension based on a formula.

The formula here was quite simple: each data entry equalled its index value. But this could be a constant, or a square of the index, or some more complex a formula.

I used this array as a pseudo output number for a pseudo firm, but we could have a quadratic formula, or something more complicated, being generated from the array and then used in a model like the one I attached with bug #457.

Related

Features: #244

Discussion

  • High Performance Coder

    I'd say this functionality is already there. To create a vector of values 0..49, create a parameter, and set the init field to "iota(49)". Then you could wire it up to the + operator, and add 1. If you want to square it, feed the parameter to both sides of a * operator.

    To do a constant, you can employ 'zero' and 'one' appropriately. See https://minsky.sourceforge.io/manual/minsky/node109.html for more details.

     
    • Steve Keen

      Steve Keen - 2024-02-07

      I’ll check it out. And we need something that is easy for neophyte users,
      once we go commercial.

      Best, Steve
      Professor Steve Keen
      Want to rebuild economics? Support me on
      Patreon: https://www.patreon.com/ProfSteveKeen
      https://www.patreon.com/ProfSteveKeen

      My latest book, The New Economics, is now available from Polity:
      http://politybooks.com/bookdetail/?isbn=9781509545285
      @ProfSteveKeen
      Mobile +66 (0) 99-257-2692

      Honorary Professor, UCL &ISRS Distinguished Research Fellow
      www.profstevekeen.com

      On Wed, 7 Feb 2024 at 22:52, High Performance Coder hpcoder@users.sourceforge.net wrote:

      I'd say this functionality is already there. To create a vector of values
      0..49, create a parameter, and set the init field to "iota(49)". Then you
      could wire it up to the + operator, and add 1. If you want to square it,
      feed the parameter to both sides of a * operator.

      To do a constant, you can employ 'zero' and 'one' appropriately. See
      https://minsky.sourceforge.io/manual/minsky/node109.html for more details.


      [features:#244] https://sourceforge.net/p/minsky/features/244/ User
      created arrays

      Status: open
      Milestone: Backlog
      Created: Wed Feb 07, 2024 08:12 PM UTC by Steve Keen
      Last Updated: Wed Feb 07, 2024 08:12 PM UTC
      Owner: nobody

      This is related to the bug report #457--which was intended to be a demo of
      this desired feature before the bug.

      This tool would enable a user to create an array of data within Ravel,
      rather than having to import data all the time. In the case I was using, I
      wanted an index dimension (in this case, from index 1 to 50--could starting
      with 1 instead of 0 have been a cause of the bug?), with a linked data
      dimension based on a formula.

      The formula here was quite simple: each data entry equalled its index
      value. But this could be a constant, or a square of the index, or some more
      complex a formula.

      I used this array as a pseudo output number for a pseudo firm, but we
      could have a quadratic formula, or something more complicated, being
      generated from the array and then used in a model like the one I attached
      with bug #457.


      Sent from sourceforge.net because you indicated interest in
      https://sourceforge.net/p/minsky/features/244/

      To unsubscribe from further messages, please visit
      https://sourceforge.net/auth/subscriptions/

       

      Related

      Features: #244


Log in to post a comment.