• pokemaster787
    link
    fedilink
    English
    arrow-up
    14
    ·
    7 months ago

    It’s likely just you were taught a different notation. Personally I was taught (x, y) can mean both coordinates x and y or a range from x-y (non inclusive), just depends on context which it is. Brackets like [x,y] I was taught are for inclusive ranges (i.e., x and y are included in the range)

    • BigDanishGuy@sh.itjust.works
      link
      fedilink
      English
      arrow-up
      2
      ·
      7 months ago

      So, what I was trying to do was use less than signs… Now I’ll just write it out instead.

      The nomenclature I was taught for intervals used square brackets. But both inclusive and exclusive. If the bracket opens toward the number it’s inclusive, if the bracket opens away from the number it’s excluded.

      The example I tried to use was as follows, 2 less than x and x less than or equal to 5, would be written as x = ]2;5]. While 2 less than x, and x less than 5 would be x = ]2;5[, and 2 less than or equal to x, and x less than or equal to 5, would be x = [2;5]

      But it is just nomenclature, but as any other kindergartener I always thought it was universal. Imagine my surprise when I discovered that some people uses a period for decimals and not a comma. And that English speakers uses the words millions, billions, and trillions but skips milliards, billiards, and trilliards. Meaning that translating between English and Daniah, you’d need to be keenly aware of the differences - otherwise you’d might try convincing a Dane that there are 1000x more people on earth.