EasyManuals Logo
Home>IBM>Laptop>5100

IBM 5100 Apl Reference Manual

IBM 5100
228 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #58 background imageLoading...
Page #58 background image
54
The * Function: Exponential, Power
Monadic (One-Argument) Form: Exponential
*8
The
exponential function result
is
the
Naperian base e (2.718281828459045) raised
to
the
power indicated by
the
argument. The argument can be a numeric scalar,
vector, or other array.
The
shape
of
the
result
is
the
same
as
that
of
the argument:
*:1.
2.71.B:3
')f3
20.0B6
If
the
argument
is
an array,
the
function
is
extended
to
each element
of
the
array:
()
1
2 3
Bi··~?
2pO
1.
2
:~
13
*B
1.
7.389:1.
~?.
7:1.8~5
20
. 08l)
Dyadic (Two-Argument) Form: Power A * 8
The power function result
is
argument A raised
to
the
power indicated by
argument
B.
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:
2~'3
0.25
1
3
o .
:I.~?'5
...
-------2*-3
= 1/2
3
= 1/8 = .125
The
root
of a number can be found by raising
the
number
to
the
power indicated
by
the
reciprocal
of
the
root. For example,
to
find
the
square root:
:1.
'+'
<j
:I.
6·)f··:··2
:I.
2
~5
'+

Table of Contents

Other manuals for IBM 5100

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the IBM 5100 and is the answer not in the manual?

IBM 5100 Specifications

General IconGeneral
BrandIBM
Model5100
CategoryLaptop
LanguageEnglish

Related product manuals