Open AmplitudeGravity opened 4 years ago
This is also available through something like: [symbols("α$i") for i in 1:30]
. I would think that is sufficient. Users might get confused as to what this does: n=16; @vars x n
.
This is also available through something like:
[symbols("α$i") for i in 1:30]
.
That is only realized part feature of macro @vars
I write a macro for @vars when I use symengine. It can be applied to construct multi symbol variables. It seems convenience. I donot know if there are better way to realize this feature. I just leave the code here. Feel free to use or improve it.
To use it, you can call
@vars x 16
@vars α 16
The outputs are