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

« back to all changes in this revision

Viewing changes to macros/percent/%r_e.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 f=%r_e(i,j,f)
 
2
// %r_e(i,j,f) extraction f(i,j) in a rational matrix
 
3
//!
 
4
// Copyright INRIA
 
5
[lhs,rhs]=argn(0)
 
6
if rhs==2 then 
 
7
  f=rlist(j('num')(i),j('den')(i),j('dt'))
 
8
elseif rhs==3 then
 
9
  f=rlist(f('num')(i,j),f('den')(i,j),f('dt'))
 
10
end
 
11
if f('num')==[] then f=[],end