|
User Documentation |
|||||||||
| prev file | next file | ||||||||||
| SUMMARY: fields | routine DETAILS: routine | ||||||||||
./guide bias.pro
| bias |
This procedure adds a scalar bias to the data container's data.
Equivalent to:
!g.s[0].data_ptr = !g.s[0].data_ptr + factor
getrec,1
show
bias,1.3 ; all values in the PDC are now larger by 1.3
show
copy,0,5
bias,2.4,5 ; all values in buffer 5 now larger by 2.4
show
| Parameters | |
|
factor |
scalar value to be added |
|
buffer |
The global buffer number containing the data to be adjusted. |