title: Constructor undefined while the constructor is indeed defined
body: <p>This line causes error "The constructor Vector(double[], double[]) is undefined":</p>
  
  <pre><code>Vector&lt;trainingSet&gt; set = new Vector&lt;trainingSet&gt;({1.0, 1.0}, {0.0, 0.0});
  </code></pre>
  
  <p>While the class "trainingSet" has indeed a corresponding constructor:</p>
  
  <pre><code>public class trainingSet {
      public double [] pattern, result;
      public trainingSet(){}
      public trainingSet(double[] Pattern, double[] Result){
          pattern = Pattern;
          result = Result;
      }
  }
  </code></pre>
  
  <p>Any idea?</p>