Usage
The operator bcd1 returns the ``eigenvalue'' corresponding to the
numerator variance matrix for the
This operator returns the coefficient of the component
BD>assign : fg.i.j=(11-5+.i+.j)+(4*.j+.i)b.1+(.j)c.12.12+(15)+(.i)+(2+.j)b.i+(.i-2)c.j.i
BD>print : (ascf (fg.1.7,b.1)) - should be 38
BD>print : (ascf (fg.2.7,b.2)) - should be 9
BD>print : (ascf (fg.12.12,c.12.12)) - should be 22
BD>print : (ascf (fg.1.124,c.124.1)) - should be -1
This returns the scalar part (or zero if there is no scalar part) of the
assignment whose name is supplied as the argument. For example, suppose
that you have assigned
BD>assign : fg.i.j=(11-5+.i+.j)+(4*.j+.i)b.1+(.j)c.12.12+(15)+(.i)+(2+.j)b.i+(.i-2)c.j.i
BD>print : (ascl (fg.2.3)) - should be 28
This is a boolean operator which returns the value unity if the argument
N is the name of a base, and zero otherwise.
This returns the number of elements, but not bases or
data-elements in the base B. If an error occurs whilst the
count operator is being processed, the number returned is zero.
This returns the number of elements or bases, but not
data-elements in the base B. If an error occurs whilst the
countb operator is being processed, the number returned is zero.
This returns the number of data-elements, in the base
B. If an error occurs whilst the countd operator is being
processed, the number returned is zero.
This returns the total number of constituents of the base B,
including data-elements, other bases and elements. If
an error occurs whilst the countd operator is being processed,
the number returned is zero.
This is a boolean operator which returns the value unity if N is the
name of a data-carrier and the data case I has been
defined for this data-carrier, and zero otherwise.
This returns the number of unused
data locations (this calculation may take some time, as it enforces a
garbage collection).
This is a boolean operator which returns the value unity if the argument
N is the name of a data carrier and zero otherwise.
This returns the number of data observations selected according to a
SELECT: command, irrespective of the setting of the
autoselect control.
This returns
the number of unused element locations (giving the number of
elements that you can still create).
This is a boolean operator which takes the value unity if the argument
N is the name of an element, and zero otherwise.
This returns the last error number, or zero if there have been no errors.
This returns the value of whichever of the two arguments is the larger.
The complement to this operator is the min operator.
An example of the use of the command is as follows, where we assume
BD>print : (max (23+7)(30+cos (%theta)))
This returns an integer in the range
This returns the value of whichever of the two arguments is the smaller.
The complement to this operator is the max operator.
An example of the use of the command is as follows, where we assume
BD>print : (min (23+7)(30+sin (%theta)))
This returns the area under a standardised Normal
This returns the value of
This returns an integer in the range
This can be used to test for applications for a specific platform.
The possible values that could be returned at present, with their
implications, are as follows:
This returns the current number of belief stores as an integer. This
operand might be used with the LOCK: command, as in the
following example which locks all but the first two belief stores:
BD>for : i=3,1,stores | lock : [i]
This returns the time in seconds since the start of the program. The
timing is accurate to the nearest second for the UNIX
implementation, and to the nearest hundredth of a second for the
WINDOWS implementation.
canonical direction for a
belief comparison, and the operator bcd2 returns similarly the
``eigenvalue'' corresponding to the denominator variance matrix.
It is an error if the index i is smaller than one or greater than the
dimension of the variance matrices subjected to the comparison.
Usage
and
in parenthesis and
separated by a comma.
is the name of an assignment, and
the name of an element, component, or assignment.
in the
assignment
. For example, suppose that you have assigned
. Then
. The operator takes into
account any indices and evaluates functional parts accordingly. In cases
where
the second argument
is represented more than once in an
assignment, the coefficients are accumulated. Where the argument
is not part of the assignment, a coefficient of zero is returned.
The following examples may
make clear the use of this operator.
Usage
and
. Then
and
.
The operator takes into
account any indices and evaluates functional parts accordingly, as in
the following example.
Usage
Usage
Usage
Usage
Usage
Usage
and I in parenthesis and separated by
a comma.
is any
valid name, and I is an integer.
Usage
Usage
Usage
Usage
Usage
Usage
Usage
to be the name of some constant.
Usage
representing the current
macro channel.
Usage
to be the name of some constant.
Usage
curve to
the left of the argument E, For example,
. The approximation is accurate to about
.
Usage
correct to 11 decimal places.
Usage
representing the current
output channel.
Usage
Usage
Usage