xforms for Chaotica
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

29 lines
575 B

<?xml version="1.0" encoding="utf-8"?>
<user_transforms>
<transform_def name="kleinian">
<node name="input_params">
<real name="klein">1</real>
<real name="klein_b">0</real>
</node>
<node name="internal_params">
<real name="weight" />
<real name="b" />
</node>
<string name="winter_init_function">
<![CDATA[
kleinian_init_result(klein, klein_b)
]]>
</string>
<string name="winter_eval_function">
<![CDATA[
let
x = weight / (dot(p_in, p_in) + b)
in
p_in * x
]]>
</string>
</transform_def>
</user_transforms>