|
•
|
With From expression the output evaluates the tensor expression in the Expression field. The dimension of the output depends on the expression.
|
|
•
|
Use the Specify size and template option when you want to control the size of the output and enter the expression of each component in the output. Such an expression should always evaluate to a scalar, and it supports the index variables i, j, k, and l, which represent the index in the output tensor currently evaluated. If an argument has the same dimension as the output it is also possible to use these in index variables to pick up an element of the argument; for example, use arg.i.j to get the i:th row and j:th column in the argument tensor named arg.
|