Show
Ignore:
Timestamp:
01/17/07 00:38:49 (4 years ago)
Author:
anthony_rowe
Message:

added ilp functions

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/projects/polly/polly.c

    r341 r343  
    160160     printf( "a=%f\n",reg_line.a );      
    161161     printf( "b=%f\n",reg_line.b );      
    162      printf( "r=%f\n",reg_line.r );      
    163      printf( "bError=%f\n",reg_line.bError );      
    164      printf( "stddevPoints=%f\n",reg_line.stddevPoints);      
    165  
     162     printf( "r^2=%f\n",reg_line.r_sqr );      
     163 
     164     double distance; 
     165     distance=reg_line.a+reg_line.b*(polly_img.width/2); 
     166     printf( "distance = %f\n",distance );  
     167     
    166168    convert_histogram_to_ppm (&polly_img, range); 
    167169