Section 8. Processing and Math Instructions
8-6
Parameter
& Data Type
Enter
CovSpa Parameters
Dest
Variable or
Array
The Variable in which to store the results of the instruction. When multiple covariances are
calculated, the results are stored in an array with the variable name. An array must be
dimensioned to at least the value of NumOfCov.
NumOfCov
Constant
The number of covariances to be calculated. If four data sets are to be compared against a fifth
set, this would be set to four.
SizeOfSets
Constant
The number of values in the data sets for the covariance calculations.
CoreArray
Array
The array that holds the core data set. The covariance of core data with each of the other sets
is calculated independently. The data need to be consecutive in the array. If the first data
value is not the first point of the array, the first point of the data set must be specified in this
parameter.
DatArray
Array
The array that contains the data set(s) for calculating the covariance with the CoreSet. When
multiple covariances are calculated, the data sets have to be loaded consecutively into one
array. The array must be dimensioned to at least the value of NumOfCov multiplied by
SizeOfSets. For example, if each set of data has 100 elements (SizeOfSets), and there are 4
covariances (NumOfCov) to be calculated, then the DatArray needs to be dimensioned to 4 x
100 = 400. If the first value of the first set is not the first point of the array, the first point of
the data set must be specified in this parameter.
Exp
Returns e (the base of natural logarithms) raised to a power.
Syntax
Exp(
number
)
Remarks
If the value of
number
exceeds 709.782712893, an Overflow error occurs. The
constant e is approximately 2.718282.
Note
The Exp function complements the action of the Log function and is
sometimes referred to as the antilogarithm.
Exp FunctionExample
The example uses Exp to calculate the value of e. Exp(1) is e raised to the power
of 1.
'Exp(x) is e ^x so Exp(1) is e ^1 or e.
Dim ValueOfE
'Declare variables.
BeginProg
ValueOfE =
Exp(
1
)
'Calculate value of e.
EndProg
Содержание CR9000
Страница 6: ...CR9000 Table of Contents iv This is a blank page ...
Страница 22: ...CR9000 Overview OV 16 This is a blank page ...
Страница 26: ...Section 1 Installation 1 4 CR9000 FIGURE 1 1 3 CR9000 Battery Pack ...
Страница 72: ...Section 3 CR9000 Measurement Details 3 28 This is a blank page ...
Страница 88: ...Section 5 Program Declarations 5 6 This is a blank page ...
Страница 217: ...This is a blank page ...