for in range y_dim sub sub for in range round sub sub sub sub if not l

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
{% for i in range(l.y_dim) %}
<i>Ф</i><sub>{{ i+1 }}</sub> =
{% for j in range(3) %}
({{ l.c[i][j]|round(2) }}) *
<i>Ф</i><sub>{{ i+1 }}{{ j+1 }}</sub>
(x<sub>{{ j+1 }}</sub>)
{% if not loop.last %} + {% endif %}
{% endfor %}
<br />
{% endfor %}