def column_vector(v):
	"""Creates a column vector.

	v is a list of the row values
	"""
	if not isinstance(v, types.ListType):
		raise TypeError("Column vector data must be a list")
	return Matrix(map(lambda x: [x], v))
Creates a column vector.

	v is a list of the row values
	
recipes/Python/189971_Basic_Linear_Algebra_Matrix/recipe-189971.py