ListNode function ( double arg0 , int arg1 ) { ListNode loc0 = new ListNode ( null , null ) ; if ( arg1 == 0 ) { loc0 . item = new Double ( 1.0 ) ; loc0 . next = null ; } else { loc0 . next = createGeomSeries ( arg0 , arg1 - 1 ) ; loc0 . item = new Double ( ( ( Double ) loc0 . next . item ) . doubleValue ( ) * arg0 ) ; } return loc0 ; }
creategeomseries creates a list built from listnodes in which each item is a double containing one term in the geometric series n sum r ^ i . i = 0 concode_field_sep PlaceHolder placeHolder concode_field_sep double listSum concode_elem_sep void main