You need to use broadcasting to apply the ^ operation on all entries of the vector. The same for the - operation, that is:
1 .- xi2 .^ (2/6)
You need to use broadcasting to apply the ^ operation on all entries of the vector. The same for the - operation, that is:
1 .- xi2 .^ (2/6)