comparison scripts/sparse/treelayout.m @ 12575:d0b799dafede

Grammarcheck files for 3.4.1 release.
author Rik <octave@nomad.inbox5.com>
date Mon, 04 Apr 2011 15:33:46 -0700
parents c792872f8942
children 85dd509673e7
comparison
equal deleted inserted replaced
12574:89604fa96d2f 12575:d0b799dafede
23 ## vector of 23 ## vector of
24 ## predecessors, optional parameter @var{permutation} is an optional postorder 24 ## predecessors, optional parameter @var{permutation} is an optional postorder
25 ## permutation. 25 ## permutation.
26 ## The complexity of the algorithm is O(n) in 26 ## The complexity of the algorithm is O(n) in
27 ## terms of time and memory requirements. 27 ## terms of time and memory requirements.
28 ## @seealso{etreeplot, gplot,treeplot} 28 ## @seealso{etreeplot, gplot, treeplot}
29 ## @end deftypefn 29 ## @end deftypefn
30 30
31 function [x_coordinate, y_coordinate, height, s] = treelayout (tree, permutation) 31 function [x_coordinate, y_coordinate, height, s] = treelayout (tree, permutation)
32 if (nargin < 1 || nargin > 2 || nargout > 4) 32 if (nargin < 1 || nargin > 2 || nargout > 4)
33 print_usage (); 33 print_usage ();