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

« back to all changes in this revision

Viewing changes to macros/percent/%r_n_r.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 r=%r_n_r(l1,l2)
 
2
//%r_n_r(l1,l2) <=> l1<>l2 for rational matrices
 
3
//!
 
4
// Copyright INRIA
 
5
r=l1('dt')<>l2('dt')
 
6
if ~r then
 
7
  r=l1('num')<>l2('num')|(l1('den')<>l2('den')&l1('num')<>0)
 
8
end
 
9