def to_matrix(self, system):

        return Matrix([self.dot(unit_vec) for unit_vec in
                       system.base_vectors()])
Returns the matrix form of this vector with respect to the
dataset/ETHPy150Open sympy/sympy/sympy/vector/vector.py/Vector.to_matrix