I've started using TRIP just today, my operating system is linux:
ubuntu,
I created a simple .t file to test TRIP's abilities as follows:
x=-pi,pi,pi/108;
y=sin(x);
vnumR Imy;
resize(Imy,217,0)
ff=file_fullname("test-data.txt");
write(ff,"%20.15E %12.8E\n",y,Imy);
naf(216,ff,naft1,pi/108,-pi,1,2);
when I ran it this message was shown:
> include("naff-test1.t");
TRIP[ 5 ] : Syntax error
Command :' ff=file_fullname("test-data.txt");'
^^
at line 5 in file '/home/golchin/naff/trip/naff-test1.t'
the weird is that, when I just copy and pasted the command in the
shell nothing was wrong with it:
>ff=file_fullname("test-data.txt");
ff = file name 'test-data.txt'
> I've started using TRIP just today, my operating system is linux:
> ubuntu,
> I created a simple .t file to test TRIP's abilities as follows:
> x=-pi,pi,pi/108;
> y=sin(x);
> vnumR Imy;
> resize(Imy,217,0)
> ff=file_fullname("test-data.txt");
> write(ff,"%20.15E %12.8E\n",y,Imy);
> naf(216,ff,naft1,pi/108,-pi,1,2);
> when I ran it this message was shown:
> > include("naff-test1.t");
> TRIP[ 5 ] : Syntax error
> Command :' ff=file_fullname("test-data.txt");'
> ^^
> at line 5 in file '/home/golchin/naff/trip/naff-test1.t'
> the weird is that, when I just copy and pasted the command in the
> shell nothing was wrong with it:
> >ff=file_fullname("test-data.txt");
> ff = file name 'test-data.txt'
> You omit to add a semi-column on this line : resize(Imy,217,0)
> And you forget to add the number of terms in the naf command. (here I
> set 10 terms).
> A better way is use the naftab command when numernical vectors are
> already existing.
> Mickaël
> On May 19, 11:30 am, laya <laya.golc...@gmail.com> wrote:
> > I've started using TRIP just today, my operating system is linux:
> > ubuntu,
> > I created a simple .t file to test TRIP's abilities as follows:
> > x=-pi,pi,pi/108;
> > y=sin(x);
> > vnumR Imy;
> > resize(Imy,217,0)
> > ff=file_fullname("test-data.txt");
> > write(ff,"%20.15E %12.8E\n",y,Imy);
> > naf(216,ff,naft1,pi/108,-pi,1,2);
> > when I ran it this message was shown:
> > > include("naff-test1.t");
> > TRIP[ 5 ] : Syntax error
> > Command :' ff=file_fullname("test-data.txt");'
> > ^^
> > at line 5 in file '/home/golchin/naff/trip/naff-test1.t'
> > the weird is that, when I just copy and pasted the command in the
> > shell nothing was wrong with it:
> > >ff=file_fullname("test-data.txt");
> > ff = file name 'test-data.txt'