search for: getpvaluefort_wrap

Displaying 1 result from an estimated 1 matches for "getpvaluefort_wrap".

2004 Nov 02
0
how to call function in ../src/main
...0); } We create GetPvalueForT.i, which has /* File : GetPvalueForT.i */ %module GetPvalueForT extern double GetPvalueForT ( double t, double deg ); We use GetPvalueForT: $(srcdir)/GetPvalueForT.c swig -perl5 GetPvalueForT.i gcc $(ALL_CPPFLAGS) $(ALL_CFLAGS) -c GetPvalueForT.c GetPvalueForT_wrap.c -I$(DCDFLIB) -I/usr/local/lib/perl5/5.8.2/sun4-solaris-thread-multi/CORE -Im ld -G GetPvalueForT.o -Im -L. -lRmath -lm GetPvalueForT_wrap.o -o GetPvalueForT in Makefile and we got GetPvalueForT.pm and GetPvalueForT and then we can call it from perl: test.pl: #!/usr/local/bin/perl use...