# Revision history [back]

### Using matrix() inside a user function prevents argument evaluation

This function:

f(x) = x*matrix([[5]])


Will produce this result:

In: f(3)
Out: [5*x]


I would expect the result to be the same as this:

In: 3*matrix([[5]])
Out: [15]


What am I missing? How come the argument supplied ('x') isn't being evaluated inside the function?

Thank you