I have a question regarding numpy. 

Let's assume I have a function 

```
def calcSomething(A,t):

    return t*A

```

I want to pass A a constant numpy-array, e.g. `A=np.array([1.0,2.0])` and t as equidistant points, e.g. `t = np.linspace(0.0,1.0,10)`.
Now, when I execute 

```
x = calcSomething(A,t)

```

I'd like to get `x[0] = [0,0]`, `x[1] = [.1,.2]`,...,`x[9] = [1.0,2.0]`. Is there an easy way to achieve that, or do I have to implement it using for-loops and appending?

Edit: 'calcSomething(): is just a placeholder for a more complex function. 

E.g. `y=np.sin(t)` yields `y[i]=np.sin(t[i])`. That's what I want to achieve for a generic function. 

Thanks in advance!