So I have this rather complicated looking expression
{-0.192308 (0.004 - 2.5 α00^2 - 1.25 α01^2 -
1.25 α02^2 - 1.25 β01^2 - 1.25 β02^2),
0.0000815811 (19030.2 α00 - 2420.83 α00^3 -
3631.25 α00 α01^2 -
1815.62 α01^2 α02 -
3631.25 α00 α02^2 - 3042.11 α11 β01 -
3042.11 α21 β01 - 3631.25 α00 β01^2 +
1815.62 α02 β01^2 - 6084.22 α12 β02 -
6084.22 α22 β02 -
3631.25 α01 β01 β02 -
3631.25 α00 β02^2 + 3042.11 α01 β11 +
6084.22 α02 β12 + 3042.11 α01 β21 +
6084.22 α02 β22 + 16286. α10 ω1^2 +
36254.4 α20 ω1^2),
0.0000815811 (-3933.52 α00 - 897.3 α00^3 -
1345.95 α00 α01^2 -
672.975 α01^2 α02 -
1345.95 α00 α02^2 - 1127.58 α11 β01 -
1127.58 α21 β01 - 1345.95 α00 β01^2 +
672.975 α02 β01^2 - 2255.16 α12 β02 -
2255.16 α22 β02 -
1345.95 α01 β01 β02 -
1345.95 α00 β02^2 + 1127.58 α01 β11 +
2255.16 α02 β12 + 1127.58 α01 β21 +
2255.16 α02 β22 + 1493.11 α10 ω1^2 +
123758. α20 ω1^2),
0.384615 (2.5 α00 α01 + 1.25 α01 α02 +
2.51327 β01 + (π β01)/2 +
1.25 β01 β02 - π β11 - π β21), \
-0.0000815811 (-19030.2 α01 + 7262.5 α00^2 α01 +
1815.62 α01^3 + 7262.5 α00 α01 α02 +
3631.25 α01 α02^2 + 30244.7 α11 +
6084.22 α12 β01 + 6084.22 α22 β01 +
1815.62 α01 β01^2 + 3042.11 α11 β02 +
3042.11 α21 β02 +
7262.5 α00 β01 β02 +
3631.25 α01 β02^2 - 6084.22 α00 β11 -
3042.11 α02 β11 - 6084.22 α01 β12 -
6084.22 α00 β21 - 3042.11 α02 β21 -
6084.22 α01 β22 - 16286. α11 ω1^2 -
36254.4 α21 ω1^2), -0.0000815811 (3933.52 \
α01 + 2691.9 α00^2 α01 + 672.975 α01^3 +
2691.9 α00 α01 α02 +
1345.95 α01 α02^2 + 30244.7 α21 +
2255.16 α12 β01 + 2255.16 α22 β01 +
672.975 α01 β01^2 + 1127.58 α11 β02 +
1127.58 α21 β02 +
2691.9 α00 β01 β02 +
1345.95 α01 β02^2 - 2255.16 α00 β11 -
1127.58 α02 β11 - 2255.16 α01 β12 -
2255.16 α00 β21 - 1127.58 α02 β21 -
2255.16 α01 β22 - 1493.11 α11 ω1^2 -
123758. α21 ω1^2),
0.192308 (1.25 α01^2 + 5. α00 α02 -
1.25 β01^2 + 10.0531 β02 + 2 π β02 -
4 π β12 -
4 π β22), -0.0000815811 (3631.25 α00 \
α01^2 - 19030.2 α02 + 7262.5 α00^2 α02 +
3631.25 α01^2 α02 + 1815.62 α02^3 +
120979. α12 - 3042.11 α11 β01 -
3042.11 α21 β01 - 3631.25 α00 β01^2 +
3631.25 α02 β01^2 + 1815.62 α02 β02^2 -
3042.11 α01 β11 - 12168.4 α00 β12 -
3042.11 α01 β21 - 12168.4 α00 β22 -
16286. α12 ω1^2 -
36254.4 α22 ω1^2), -0.0000815811 (1345.95 \
α00 α01^2 + 3933.52 α02 +
2691.9 α00^2 α02 +
1345.95 α01^2 α02 + 672.975 α02^3 +
120979. α22 - 1127.58 α11 β01 -
1127.58 α21 β01 - 1345.95 α00 β01^2 +
1345.95 α02 β01^2 + 672.975 α02 β02^2 -
1127.58 α01 β11 - 4510.32 α00 β12 -
1127.58 α01 β21 - 4510.32 α00 β22 -
1493.11 α12 ω1^2 -
123758. α22 ω1^2), -0.384615 (2.51327 α01 + \
(π α01)/2 - π α11 - π α21 -
2.5 α00 β01 + 1.25 α02 β01 -
1.25 α01 β02), -0.0000815811 (6084.22 α00 \
α11 - 3042.11 α02 α11 +
6084.22 α01 α12 + 6084.22 α00 α21 -
3042.11 α02 α21 + 6084.22 α01 α22 -
19030.2 β01 + 7262.5 α00^2 β01 +
1815.62 α01^2 β01 -
7262.5 α00 α02 β01 +
3631.25 α02^2 β01 + 1815.62 β01^3 +
7262.5 α00 α01 β02 +
3631.25 β01 β02^2 + 30244.7 β11 -
3042.11 β02 β11 + 6084.22 β01 β12 -
3042.11 β02 β21 + 6084.22 β01 β22 -
16286. β11 ω1^2 -
36254.4 β21 ω1^2), -0.0000815811 (2255.16 α00 \
α11 - 1127.58 α02 α11 +
2255.16 α01 α12 + 2255.16 α00 α21 -
1127.58 α02 α21 + 2255.16 α01 α22 +
3933.52 β01 + 2691.9 α00^2 β01 +
672.975 α01^2 β01 -
2691.9 α00 α02 β01 +
1345.95 α02^2 β01 + 672.975 β01^3 +
2691.9 α00 α01 β02 +
1345.95 β01 β02^2 - 1127.58 β02 β11 +
2255.16 β01 β12 + 30244.7 β21 -
1127.58 β02 β21 + 2255.16 β01 β22 -
1493.11 β11 ω1^2 -
123758. β21 ω1^2), -0.384615 (8.16814 α02 -
2 π α12 - 2 π α22 -
1.25 α01 β01 -
2.5 α00 β02), -0.0000815811 (3042.11 α01 \
α11 + 12168.4 α00 α12 +
3042.11 α01 α21 + 12168.4 α00 α22 +
7262.5 α00 α01 β01 - 19030.2 β02 +
7262.5 α00^2 β02 + 3631.25 α01^2 β02 +
1815.62 α02^2 β02 + 3631.25 β01^2 β02 +
1815.62 β02^3 - 3042.11 β01 β11 +
120979. β12 - 3042.11 β01 β21 -
16286. β12 ω1^2 -
36254.4 β22 ω1^2), -0.0000815811 (1127.58 α01 \
α11 + 4510.32 α00 α12 +
1127.58 α01 α21 + 4510.32 α00 α22 +
2691.9 α00 α01 β01 + 3933.52 β02 +
2691.9 α00^2 β02 + 1345.95 α01^2 β02 +
672.975 α02^2 β02 + 1345.95 β01^2 β02 +
672.975 β02^3 - 1127.58 β01 β11 -
1127.58 β01 β21 + 120979. β22 -
1493.11 β12 ω1^2 -
123758. β22 ω1^2), α00 + α01 + \
α02 + α10 + α11 + α12 + α20 + \
α21 + α22}
I would like to to turn into a multi variable function of these variables.
{ω0, α00, α01, α02, α10, \
α11, α12, α20, α21, α22, \
β01, β02, β11, β12, β21, β22}
I know you can just do something like
f[ω0_, α00_, α01_, α02_, α10_, α11_, α12_, α20_, α21_, α22_, β01_, β02_,β11_, β12_, β21_, β22_] := ...
I was hoping to find a way where I don't specifically write out each variable, since the number of variables is going to vary with different iterations of the program.