title: Correct way of writing down the attribute list of tuples of floats?
body: <p>I'm new to UML modeling and I need to write down the attribute of a class that is a list of tuples of floats. How detailed does the attribute section need to be? Here is a code sample for further explanation:</p>
  
  <pre><code># floats
  x1 = 1.0
  y1 = 1.0
  
  x2 = 1.1
  y2 = 1.1
  
  x3 = 1.2
  y3 = 1.2
  
  # tuples of floats
  tup1 = (x1,y1)
  tup2 = (x2,y2)
  tup3 = (x3,y3)
  
  # list of tuples of floats / attribute of my class
  points = [tup1,tup2,tup3]
  </code></pre>
  
  <p>The tuples represent points in 2d-space (x- and y-coordinate). What would the attribute of "points" look like?</p>
  
  <p>I thought of different possibilities, but I'm not really satisfied with them:</p>
  
  <p>points : tuple[2..*]</p>
  
  <p>points : float[2..*][2]</p>
  
  <p>I'm lost! Any help is appreciated.</p>