but I want to be able to create a function where I input a number and it concatenates that number of circ(x)s.
so for example:
function Ncircs(n)
#some way to make cat() have as its parameter circ n number of times
end
and I could call Ncircs(2) and get x -> cat(circ(x), circ(x); dims = 1)
or Ncircs(3) and get x -> cat(circ(x), circ(x), circ(x); dims = 1)
or Ncircs(4) and get x -> cat(circ(x), circ(x), circ(x), circ(x); dims = 1)
etc.
Is there a way of doing this? Do I have to use a macro?