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

« back to all changes in this revision

Viewing changes to examples/link-examples/ext2f.sce

  • 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
//Copyright INRIA
 
2
 
 
3
//Simple example #2
 
4
 
 
5
files=G_make(['/tmp/ext2f.o'],'ext2f.dll');
 
6
link(files,'ext2f');
 
7
 
 
8
a=[1,2,3];b=[4,5,6];n=3;
 
9
c=call('ext2f',n,1,'i',a,2,'d',b,3,'d','out',[1,3],4,'d');
 
10
if norm(c-(sin(a)+cos(b))) > %eps then pause,end