(
(
("
c
(""
If
one
argument
is
a scalar
or
a single-element array, the shape
of
the
result
is
the
same
as
that
of
the
other
argument. The single element
is
applied
to
every element
of
the
multielement array:
:L
2
~5
1+
1.
9
B~"2
2(.>:1.
2 3
4·
1-3
The
...
Function: Natural Log, Logarithm
CD
CD
The
~symbol
is
formed by overstriking
the
0 symbol
and
the
* symbol.
Monadic (One-Argument) Form: Natural Log
~B
The natural log function result
is
the
log
of
the
argument B
to
the
Naperian base e
(2.718281828459045).
The
argument can be a non-negative numeric scalar, vector,
or
other
array. The shape
of
the
result
is
the
same
as
that
of
the
argument:
m2.7:1.B3
1.
m~.?O
. OBb
..
.,
,:)
If
the
argument
is
an array,
the
function
is
extended
to
each
element
of
the
array:
:I.
3
to
20
Bfo2
2(.>:1.
3
:1.0
20
B
wB
o
1.0986
2.3026 2.9957
Dyadic (Two-Argument) Form: Logarithm
Ae
B
The logarithm function result
is
the
log
of
argument B
to
the
base
of
argument A.
The
arguments can be numeric scalars, vectors,
or
other
arrays.
The
arguments
must
be
the
same shape, unless
one
of
the
arguments
is
a scalar
or
any single-element array.
Arguments
of
the
same shape have
the
same shape result:
2m8
2 3
'+(+)8
9
:1.6
322
55