Regression with a multi-variable function

Should it be like this?

def func(x, s, k, L,A):
    return A + (L * (1/(1+(((b1*x[0]+b2*x[1]+b3*x[2])/k)**(-s)))))

and in this case xdata has to be (3,n) shaped array.