normalize expression in Tscript syntax

I’m trying to use Tscript to build a transformation matrix and would like to use the normalize expression but can’t get it to work. I’m trying to use 3 floats for a vectors value $rx , $ry , $rz.

There is no example in the wiki. How should is use the command?

thanks
Keith

Its a little strange in tscript. You pass everything in square brackets, and enclose them in quotes to keep it as one parameter.

tscript → echo normalize("[1, 2, 3]")
[0.2672612,0.5345225,0.8017837]