Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
hyperPad

hyperPad Forum

  1. Home
  2. Help and Support
  3. Graphing Calculator (anyone know how to do this?)

Graphing Calculator (anyone know how to do this?)

Scheduled Pinned Locked Moved Help and Support
18 Posts 5 Posters 3.8k Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • RyanAndChadR Offline
    RyanAndChadR Offline
    RyanAndChad
    wrote on last edited by
    #9

    @iTap-Development The blank function inside each object would just be a couple of box containers and an if system to figure out which operator to use. When the object gets spawned, it will be given a function. The box containers would be filled in with a number or variable or maybe even another function. It would also store which operator to use (multiplication, division, add, subtract, etc). When the function gets called, the object will decide which operator to use (with some if behaviors for each operator) then use the values from the box containers in the operation. It is a bit hard to explain but it should be easy to do :)
    Also, spawning new objects would be the only way to do this (unless I had a few blank functions set up in the main object but then I would have a limited number of functions that can be done). Anyway, it would only be spawning like 5–10 objects so it shouldn't drag down performance a lot.

    iTap DevelopmentI 1 Reply Last reply
    0
    • Michael KhalfinG Offline
      Michael KhalfinG Offline
      Michael Khalfin
      wrote on last edited by
      #10

      @DomiNation Functions aren't possible. If you try to do this all in one object, Hyperpad will lag crazy.

      1 Reply Last reply
      0
      • TutorialDoctorT Offline
        TutorialDoctorT Offline
        TutorialDoctor
        wrote on last edited by
        #11

        Use an array:
        0_1489157104160_IMG_2011.PNG

        1 Reply Last reply
        0
        • RyanAndChadR RyanAndChad

          @iTap-Development The blank function inside each object would just be a couple of box containers and an if system to figure out which operator to use. When the object gets spawned, it will be given a function. The box containers would be filled in with a number or variable or maybe even another function. It would also store which operator to use (multiplication, division, add, subtract, etc). When the function gets called, the object will decide which operator to use (with some if behaviors for each operator) then use the values from the box containers in the operation. It is a bit hard to explain but it should be easy to do :)
          Also, spawning new objects would be the only way to do this (unless I had a few blank functions set up in the main object but then I would have a limited number of functions that can be done). Anyway, it would only be spawning like 5–10 objects so it shouldn't drag down performance a lot.

          iTap DevelopmentI Offline
          iTap DevelopmentI Offline
          iTap Development
          wrote on last edited by
          #12

          @DomiNation ok when you say function, what exactly do you mean? Like a math equation?

          1 Reply Last reply
          0
          • Michael KhalfinG Offline
            Michael KhalfinG Offline
            Michael Khalfin
            wrote on last edited by
            #13

            @iTap-Development f(x) = mx+b is the most generic generic linear function.

            A function is basically any type of relationship or expression involving more than variable, in which each member of the domain has one input in the range.

            iTap DevelopmentI 1 Reply Last reply
            0
            • Michael KhalfinG Michael Khalfin

              @iTap-Development f(x) = mx+b is the most generic generic linear function.

              A function is basically any type of relationship or expression involving more than variable, in which each member of the domain has one input in the range.

              iTap DevelopmentI Offline
              iTap DevelopmentI Offline
              iTap Development
              wrote on last edited by iTap Development
              #14

              @GameCRAZY ok. @DomiNation So couldn't you just store each expression like f(x)=mx+b as an index in an array? The. You can get the different values and load them into your equation solver( like you described above, with the trimming and checking characters etc.).
              Or you could use dictionaries if you need to find it by name or something.

              RyanAndChadR 1 Reply Last reply
              0
              • iTap DevelopmentI iTap Development

                @GameCRAZY ok. @DomiNation So couldn't you just store each expression like f(x)=mx+b as an index in an array? The. You can get the different values and load them into your equation solver( like you described above, with the trimming and checking characters etc.).
                Or you could use dictionaries if you need to find it by name or something.

                RyanAndChadR Offline
                RyanAndChadR Offline
                RyanAndChad
                wrote on last edited by
                #15

                @iTap-Development @GameCRAZY I could use that function but then I would be limited to only that function. I want to be able to just paste any function in. Also when I said "y=Function3," and so on, I was referring to the coding function (a set of code that is set up and can be executed from another part of code). Anyway, you guys are right that I dont need seperate objects (I have no idea what I was thinking when I said that).
                I pretty much have it planned out so it should be done in a couple of days.

                iTap DevelopmentI Michael KhalfinG 2 Replies Last reply
                0
                • RyanAndChadR RyanAndChad

                  @iTap-Development @GameCRAZY I could use that function but then I would be limited to only that function. I want to be able to just paste any function in. Also when I said "y=Function3," and so on, I was referring to the coding function (a set of code that is set up and can be executed from another part of code). Anyway, you guys are right that I dont need seperate objects (I have no idea what I was thinking when I said that).
                  I pretty much have it planned out so it should be done in a couple of days.

                  iTap DevelopmentI Offline
                  iTap DevelopmentI Offline
                  iTap Development
                  wrote on last edited by iTap Development
                  #16

                  @DomiNation ok great! Hope it works well!

                  1 Reply Last reply
                  0
                  • RyanAndChadR RyanAndChad

                    @iTap-Development @GameCRAZY I could use that function but then I would be limited to only that function. I want to be able to just paste any function in. Also when I said "y=Function3," and so on, I was referring to the coding function (a set of code that is set up and can be executed from another part of code). Anyway, you guys are right that I dont need seperate objects (I have no idea what I was thinking when I said that).
                    I pretty much have it planned out so it should be done in a couple of days.

                    Michael KhalfinG Offline
                    Michael KhalfinG Offline
                    Michael Khalfin
                    wrote on last edited by
                    #17

                    @DomiNation No, I was just explaining to @iTap-Development what a function is in Algebra. This was just one example...

                    Let me know how it works out!

                    1 Reply Last reply
                    0
                    • TutorialDoctorT Offline
                      TutorialDoctorT Offline
                      TutorialDoctor
                      wrote on last edited by
                      #18

                      @DomiNation So, will you be creating a parser? That's always a course of action.

                      1 Reply Last reply
                      0

                      Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                      Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                      With your input, this post could be even better 💗

                      Register Login
                      Reply
                      • Reply as topic
                      Log in to reply
                      • Oldest to Newest
                      • Newest to Oldest
                      • Most Votes


                      • Login

                      • Login or register to search.
                      • First post
                        Last post
                      0
                      • Categories
                      • Recent
                      • Tags
                      • Popular
                      • Users
                      • Search