import numpy as np


# Compute element-wise square of vector
def vsquare(V):
    R = np.power(V, 2)

import numpy as np


# Compute element-wise square of vector
def vsquare(V):
    R = np.power(V, 2)

# Compute element-wise square of vector