human
return vector of max indexs.
assistant
Here is a Python function to return a vector of max indexes

import numpy as np

def max_index(vec):
    """
    Return vector of max indexs
    """
    return [i for i, v in enumerate(vec) if v == max(vec)]

# Enter the vector
vec = np.array([1, 2, 3, 4, 5, 6, 7, 8, 9, 10])

# Calling the function
print((max_index(vec)))

#Example Output
# [9]

#Remember to inspect code for bugs.