math4610

Routine Name: PrintVector

Author: David Merkley

Language: Python

Description/Purpose: Prints a vector out in a more readable form

Input: Vector row, indentation

Output: vector in a readable form

Implementation/Code:

def printVector(row, ind=0):
    print(" "*ind, end="")
    for x in row:
        print("{:10.5f}".format(x), end="")
    print()