question: public DenseVector ( List < Double > list ) { this . array = new double [ list . size ( ) ] ; for ( int i = 0 ; i < list . size ( ) ; i ++ ) this . array [ i ] = list . get ( i ) ; startIndex = 0 ; endIndex = this . array . length ; }
target:  Creates a new vector of the length of the given list, and values copied over in order. 