thanks dr cox,
this is a big help...i'm having a few problems though
my code looks something like this
nvals = lenofts ;
xsim = THD_extract_series(ii,xset,0) ; xsar = MRI_FLOAT_PTR(xsim) ;
ysim = THD_extract_series(jj,xset,0) ; ysar = MRI_FLOAT_PTR(ysim) ;
beta = THD_fitter( nvals , xsar , 1 , ysar , 2,NULL ) ;
make complains :
3dAuCoMap.c: In function ‘main’:
3dAuCoMap.c:216: warning: passing argument 4 of ‘THD_fitter’ from incompatible pointer type
3dAuCoMap.o: In function `main':
3dAuCoMap.c:(.text+0x8c3): undefined reference to `KILL_floatavec'
i'm not much of an ace when it comes to the pointer stuff...please help...
xsar and ysar are arrays,right? ... are these distinct from what you are calling a vector?
-prantik