
GeoB
ASIC
Reference Manual
5.Standard Functions
TPS1100-Version 1.30
5-53
Return Codes
RC_OK
successful creation, adding, and
calculation
GM_OUT_OF_RANGE
This may occur when calling
GM_CalcMean_Add( ...,
..., FALSE )
.
Two reasons:
1. no data series exists,
2.
too many data items.
RC_IV_RESULT
When calling
GM_CalcMean
with
no successful previous call of
GM_CalcMean_Add
.
GM_TOO_FEW_
OBSERVATIONS
Too few observations to be able to
calculate the average. The recovered
values are not defined.
GM_PLAUSIBILITY_
ERR
The sum of the weights is 0.
Example
Calculate the weighted average and standard deviation.
DIM Mean AS GM_Mean_StdDev_Type
GM_CalcMean_Add( 1.0, 0.5, TRUE
)
GM_CalcMean_Add( 2.0, 1.0, FALSE )
GM_CalcMean_Add( 3.0, 1.5, FALSE )
GM_CalcMean( Mean )
Содержание tps1100
Страница 1: ...GeoBASIC FOR TPS1100 User Manual Version 2 10 1997 2001 Leica Geosystems AG Heerbrugg Switzerland ...
Страница 150: ...GeoBASIC FOR TPS1100 Reference Manual Version 2 10 1997 2001 Leica Geosystems AG Heerbrugg Switzerland ...
Страница 411: ...GeoBASIC Reference Manual 6 System Functions TPS1100 Version 1 30 6 7 6 5 35 CSV_LibCallAvailable 6 213 ...
Страница 620: ...TPS1100 Version 2 10 6 1 ...
Страница 621: ......
Страница 623: ...TPS1100 Version 2 10 6 1 ...
Страница 624: ......
Страница 1053: ...TPS1100 Version 1 30 E 1 Appendix E GEOFONT ...
Страница 1154: ...GeoBASIC Reference Manual Appendix J List of Predefined Identifiers TPS1100 Version 1 30 J 9 TMC_SetOffsetDist 6 128 ...