~ubuntu-branches/ubuntu/hoary/scilab/hoary

« back to all changes in this revision

Viewing changes to macros/scicos/ctree.sci

  • Committer: Bazaar Package Importer
  • Author(s): Torsten Werner
  • Date: 2002-03-21 16:57:43 UTC
  • Revision ID: james.westby@ubuntu.com-20020321165743-e9mv12c1tb1plztg
Tags: upstream-2.6
ImportĀ upstreamĀ versionĀ 2.6

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
function [ord,ok]=ctree(vec,in,depu)
 
2
//sctree(nb,vec,in,depu,outptr,cmat,ord,nord,ok,kk)
 
3
// Copyright INRIA
 
4
jj=find(depu);dd=zeros(depu);dd(jj)=ones(jj)';depu=dd;
 
5
nb=prod(size(vec));kk=zeros(vec);
 
6
[ord,ok]=sctree(vec,in,depu,outptr,cmatp);
 
7
ok=ok==1;
 
8
ord=ord';
 
9
 
 
10
 
 
11
 
 
12