~ubuntu-branches/ubuntu/karmic/scilab/karmic

« back to all changes in this revision

Viewing changes to demos/icse/icot.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 [ytot]=icot(dtv)
 
2
//<ytot>=icot(dtv)
 
3
//extraction de l'etat total
 
4
//variables d'entree :
 
5
//dtv(ndtv) : tableau de travail double precision obtenu par
 
6
//la mise en oeuvre de icse,icsu,icsua ou icsuq
 
7
//variables de sortie:
 
8
//ytot(ny,nt) : etat du systeme
 
9
//!
 
10
// Copyright INRIA
 
11
ytot(ny,nti+ntf)=0.d0;
 
12
lot=ndtu+ny+ntob+nob*ny+nex*ntob*nob+2*nu+ntob*nob+ny*(1+ny+nuc+nuv);
 
13
ytot=matrix(dtv(lot+1:lot+ny*(nti+ntf)),ny,nti+ntf)
 
14
 
 
15
 
 
16