public Vector(List<Double> lst){
  super(lst.size(),1);
  for (int i=0; i < lst.size(); i++) {
    setValue(i,lst.get(i));
  }
}

public Vector ( List < Double > lst ) { super ( lst . size ( ) , 1 ) ; for ( int i = 0 ; i < lst . size ( ) ; i ++ ) { setValue ( i , lst . get ( i ) ) ; } }
constructs a vector with the specified list of values .
