/usr/share/dx/samples/scripts/Compute2 is in dxsamples 4.2.0-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 | field1 = Construct([0 0],[1 1],[2 2], {1, 2, 3, 4});
field2 = Construct([0 0],[1 1],[2 2], {1, 2, 3, 4});
result = Compute2("sin(fred)+cos(joe)", "fred", field1, "joe", field2);
Print(result,"D");
|