1
function [tree]=sci_lower(tree)
4
// Conversion function for Matlab lower()
5
// Input: tree = Matlab funcall tree
6
// Ouput: tree = Scilab equivalent for tree
7
// Emulation function: mtlb_lower()
13
if A.vtype==String then
16
tree.lhs(1).dims=A.dims
17
tree.lhs(1).type=A.type
18
elseif A.vtype==Unknown then
19
tree.name="mtlb_lower"
20
tree.lhs(1).dims=A.dims
21
tree.lhs(1).type=A.type
23
if typeof(A)=="funcall" then
25
elseif typeof(A)=="operation" then