returns the sum of this vector and that vector : this + that . concode_field_sep double[] data concode_elem_sep int N concode_field_sep Vector minus concode_elem_sep Vector times concode_elem_sep int length concode_elem_sep double dot concode_elem_sep double magnitude concode_elem_sep String toString concode_elem_sep void main concode_elem_sep double distanceTo concode_elem_sep double cartesian concode_elem_sep Vector direction
Vector function ( Vector arg0 ) { if ( this . N != arg0 . N ) throw new IllegalArgumentException ( "srini_string" ) ; Vector loc0 = new Vector ( N ) ; for ( int loc1 = 0 ; loc1 < N ; loc1 ++ ) loc0 . data [ loc1 ] = this . data [ loc1 ] + arg0 . data [ loc1 ] ; return loc0 ; }