Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie

2D Table Value

Options
  • 10-05-2018 12:06pm
    #1
    Registered Users Posts: 8,245 ✭✭✭


    I've got a 2D table and I want to find the the given value for a specific x and y input combination.

    How do I do this? I've long forgotten how this is done!

    Thanks.


Comments

  • Registered Users Posts: 5,141 ✭✭✭Yakuza


    If it's conventionally labelled, then the x value will be the column number and the y value the row number.
    So, for example, (1,1) will be the top left value (first row, first column). (3,2) will be the third column over and the 2nd row down.

    Some computer languages start their labelling at 0,0 so if what you're looking for is in some sort of array in a computer programme, you'd need to take that into consideration.


Advertisement