original_docstring: 
      Returns a function to calculate the wedge product.
      Basis w-vectors must be given.
      
docstring: Returns a function to calculate the wedge product.
  Basis w-vectors must be given.
docstring_tokens: Returns a function to calculate the wedge product . Basis w - vectors must be given .
code: def wedge(w_vecs):
      """
      Returns a function to calculate the wedge product.
      Basis w-vectors must be given.
      """
      def prod(v_vecs):
          """
          Evaluates the wedge product given v-vectors.
  
          It first performs the euclidean scalar product on the basis with each vector in v.
          The resulting array is then used to get the determinant.
          """
          return det(np.array([[np.dot(w_vecs, v) for w_vecs in w_vecs] for v in v_vecs]))
  
      return prod
code_tokens: def wedge ( w_vecs ) : def prod ( v_vecs ) : """
          Evaluates the wedge product given v-vectors.
  
          It first performs the euclidean scalar product on the basis with each vector in v.
          The resulting array is then used to get the determinant.
          """ return det ( np . array ( [ [ np . dot ( w_vecs , v ) for w_vecs in w_vecs ] for v in v_vecs ] ) ) return prod
short_docstring: Returns a function to calculate the wedge product.
short_docstring_tokens: Returns a function to calculate the wedge product .
comment: """
      Returns a function to calculate the wedge product.
      Basis w-vectors must be given.
      """$SEP$"""
          Evaluates the wedge product given v-vectors.
  
          It first performs the euclidean scalar product on the basis with each vector in v.
          The resulting array is then used to get the determinant.
          """