Am 08.01.2021 um 22:18 schrieb Allin Cottrell:
On Fri, 8 Jan 2021, Sven Schreiber wrote:
> I'm not sure if list(s) inside bundles are supposed to work
in this
> context or not.
They're not. That could be added but it's not in-spec at present.
OK, noted.
> restrict $system
> @rs # error: undefined symbol b
> end restrict
> </hansl>
hansl input has already been carved into lines by the time string
substitution comes along, so this is not going to work. Try this
instead:
<hansl>
Rmat = {0,1,0,0,0;0,0,1,0,0}
qvec = {0;0}
restrict $system
R = Rmat
q = qvec
end restrict
</hansl>
Yeah, well, I knew that, but was somehow hoping to simply relay the
standard restriction specification syntax.
Perhaps I can come up with a function that translates human-readable
system restrictions into that format...
thanks
sven