parameters: (v, u)
return_statement: return [u[i] * v[i] for i in range(len(v))]
docstring: Compute by-element multiplication of vectors *v* and *u*.
docstring_summary: Compute by-element multiplication of vectors *v* and *u*.
docstring_tokens: Compute by - element multiplication of vectors * v * and * u * .
function: def naivemult(v, u):
      """Compute by-element multiplication of vectors *v* and *u*."""
      if len(u) != len(v):
          raise ValidationError('naivemult() only defined for vectors of same length \n')
      return [u[i] * v[i] for i in range(len(v))]
function_tokens: def naivemult ( v , u ) : if len ( u ) != len ( v ) : raise ValidationError ( 'naivemult() only defined for vectors of same length \n' ) return [ u [ i ] * v [ i ] for i in range ( len ( v ) ) ]