EasyManuals Logo

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 #56 background imageLoading...
Page #56 background image
52
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:
"~,
))1.
Bioo::o~
3(.):1.
2
:05
1+
1::.
'oJ
(:)
B
t
000)
,.
...
ooz
'0)
1+
1::
0
,J
I:>
:sl..
B
:t.
2
-1,
'\.0)
:05
:3
:3
The I Function: Magnitude, Residue
CD
Monadic (One-Argument) Form: Magnitude I B
The
magnitude
function
result
is
the
absolute value
of
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
00
('.9
7.9
1
00
.3
3
If
the
argument
is
an
array,
the
function
is
extended
to
each
of
the
elements:
B~2
2p-S.t
-t
0
3.t4-
B
0.0~5
1
00.:1.
o
:.:~
. 1
'+
IB
~o:j
:I.
o
Dyadic (Two-Argument) Form: Residue A I B
The
residue
function
result (when
both
argument
A and
argument
B are positive)
is
the
remainder when
argument
B
is
divided
by
argument
A.
The
following rules
apply
when using
the
residue
function:
1.
If
argument
A
is
equal
to
zero,
then
the
result
is
equal
to
argument
B:
016
6

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
Release Year1975
RAM16 KB - 64 KB
Storage204 KB tape drive
Display5-inch CRT
Operating SystemAPL/BASIC
ProcessorIBM PALM (1.9 MHz)

Related product manuals