Hi everyone,
The problem I have is the following: suppose x, y and z are data vectors (variables)
I need to create a macro that contains the following polynomial series:
(x + y + z) + (x + y + z)^2 + ... + (x + y + z)^4
Right now, I'm literally generating every power k variable + each interaction by hand... Is there a more efficient way of doing this? I've been trying fp generate, without success, it doesn't seem to work for more than 1 variable (or I didn't understand how to do this from the documentation).
Thanks in advance
The problem I have is the following: suppose x, y and z are data vectors (variables)
I need to create a macro that contains the following polynomial series:
(x + y + z) + (x + y + z)^2 + ... + (x + y + z)^4
Right now, I'm literally generating every power k variable + each interaction by hand... Is there a more efficient way of doing this? I've been trying fp generate, without success, it doesn't seem to work for more than 1 variable (or I didn't understand how to do this from the documentation).
Thanks in advance
Comment