1
function [tree]=sci_full(tree)
4
// Conversion function for Matlab full()
5
// Input: tree = Matlab funcall tree
6
// Ouput: tree = Scilab equivalent for tree
7
// Emulation function: mtlb_full()
12
if S.vtype==String then
14
tree.lhs(1).dims=S.dims
15
tree.lhs(1).type=S.type
16
elseif S.vtype==Boolean then
19
tree.lhs(1).dims=S.dims
20
tree.lhs(1).type=Type(Boolean,Real)
21
elseif S.vtype==Double then
22
tree.lhs(1).dims=S.dims
23
tree.lhs(1).type=S.type
24
elseif S.vtype==Sparse then
25
tree.lhs(1).dims=S.dims
26
tree.lhs(1).type=Type(Double,S.property)
29
tree.lhs(1).dims=S.dims
30
tree.lhs(1).type=S.type