Scilab Home page | Wiki | Bug tracker | Forge | Mailing list archives | ATOMS | File exchange
Please login or create an account
Change language to: Français - Português - Русский - 日本語
Scilab Help >> Advanced functions > macr2tree

macr2tree

function to tree conversion

Syntax

t=macr2tree(function_name)

Arguments

function_name

a Scilab macro

t

a Scilab "tree"

Description

This primitive converts a compiled Scilab function function_name into a tree (nested tlists) which codes the internal representation of the function. For use with tree2code.

Examples

tree=macr2tree(cosh);
txt=tree2code(tree,%T);
write(%io(2),txt,'(a)');

See Also

  • tree2code — generates ASCII definition of a Scilab function
Scilab Enterprises
Copyright (c) 2011-2015 (Scilab Enterprises)
Copyright (c) 1989-2012 (INRIA)
Copyright (c) 1989-2007 (ENPC)
with contributors
Last updated:
Wed Jun 15 08:27:54 CEST 2016