#NEWLINE# def outer( vec1 , vec2 ) : #NEWLINE# #INDENT# 'Outer product convenience wrapper for Vector.outer():\n' #NEWLINE# if ( not isinstance ( vec2 , Vector ) ) : #NEWLINE# #INDENT# raise TypeError ( 'Outer product is between two Vectors' ) #NEWLINE# #UNINDENT# return ( vec1 | vec2 )