I have encountered an issue while attempting to create user defined functions that use the vectorize. A vectorize operation that can be directly calculated, such as vectorize(1/M), cannot be calculated within a user defined function, such as Recip(x):=vectorize(1/x) followed by Recip(M)= . Please see attached.