/usr/share/yacas/stats.rep/code.ys is in yacas 1.3.3-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | 10 # ExpressionDepth(expression_IsFunction) <--
[
Local(result);
result:=0;
ForEach(item,Tail(Listify(expression)))
[
Local(newresult);
newresult:=ExpressionDepth(item);
result:=Max(result,newresult);
];
result+1;
];
20 # ExpressionDepth(_expression) <-- 1;
UnFence("ExpressionDepth",1);
|