math4610

Routine Name: rv

Author: David Merkley

Language: Python

Description/Purpose: Generates random vector

Input: Size of vector

Output: vector

Implementation/Code:

def rv(n):
    return [random.random() for i in range(n)]