EasyManua.ls Logo

HP 48GII User Manual

HP 48GII
653 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 #607 background imageLoading...
Page #607 background image
F
Parallel Processing With Lists F - 1
12.Parallel Processing with Lists
Parallel processing is the idea that, generally, if a command can be applied to one or more individual arguments,
then it can also be extended to be applied to one or more sets of arguments. (Note: some examples assume
approximate mode.)
Some examples:
! Q!6=N returns dH, so fa!Q!Rh!6=N returns fdHQ!dH!d3HQh.
! a!Q!. returns H8, so fa!Q!ch!fQ!c!eh!. returns fH8!V8!aHh, and fa!Q!ch!Q!. returns
fH8!HQ!V8h.
General rules for parallel processing
As a rule-of-thumb, a given command can use parallel list processing if all the following are true:
! The command checks for valid argument types. Commands that apply to all object types, such as DUP,
SWAP, ROT, and so forth, do not use parallel list processing.
! The command takes exactly one, two, three, four, or five arguments, none of which may itself be a list.
Commands that use an indefinite number of arguments (such as "LIST) do not use parallel list processing.
! The command isn't a programming branch command (IF, FOR, CASE, NEXT, and so forth).
The remainder of this appendix describes how the many and various commands available on the calculator are
grouped with respect to parallel processing.
Group 1: Commands that cannot parallel process
A command must take arguments before it can parallel process, since a zero-argument command (such as
RAND, VARS, or REC) has no arguments with which to form a group.
Group 2: Commands that must use DOLIST to parallel process
This group of commands cannot use parallel processing directly, but can be "coerced" into it using the
DOLIST command (see Using D later in this appendix). This group consists of several subgroups:
! Stack manipulation commands. A stack manipulation command cannot parallel process because the
stack is manipulated as a whole and list objects are treated the same as any other object. Stack commands
(such as DROP) that take level 1 arguments will not accept level 1 list arguments.
! Commands that operate on a list as a whole. Certain commands accept lists as arguments but treat
them no differently than any other data object. They perform their function on the object as a whole without
respect to its elements. For example, "STR converts the entire list object to a string rather than converting
each individual element, and the = = command tests the level 1 object against the level 2 object regardless of
the objects' types.
! List manipulation commands. List manipulation commands will not parallel process since they operate
on list arguments as lists rather than as sets of parallel data. However, a list manipulation command can be
forced to parallel process lists of lists by using the DOLIST command. For example,
ff3!H!Vh!fa!Q!chh!"!`E6D:!1!4LE6D:!returns!fc!3H8h.
! Other commands that have list arguments. Because a list can hold any number of objects of any type,
it is commonly used to hold a variable number of parameters of various types. Some commands accept such
lists, and because of this are insensitive to parallel processing, except by using DOLIST.

Table of Contents

Other manuals for HP 48GII

Question and Answer IconNeed help?

Do you have a question about the HP 48GII and is the answer not in the manual?

HP 48GII Specifications

General IconGeneral
Battery typeCR2032
TypeScientific
Form factorPocket
Weight and Dimensions IconWeight and Dimensions
Weight220 g
Dimensions (WxDxH)184 x 87 x 23.5 mm

Summary

RPL Programming

Understanding Programs

Programs as objects, delimiters, and basic structure.

Entering and Executing Programs

Details on how to create, store, and run programs.

Using Conditional Structures

Covers IF, CASE, IFT, IFTE structures for program decision-making.

Input and Output Commands

Details commands like PROMPT, INPUT, INFORM, CHOOSE for user interaction.

RPL Programming Examples

Fibonacci Numbers

Demonstrates recursive and loop-based Fibonacci calculations.

Minimum and Maximum Array Elements

Details finding min/max elements using MNX and MNX2.

Applying a Program to an Array

Explains the APLY command for transforming array elements.

Full Command and Function Reference

How to Access Commands and Functions

Explains key presses and menu paths to access commands.

ABS (Absolute Value)

Details the absolute value function and its array behavior.

ACOS (Arc Cosine)

Explains the inverse cosine function, domain, and range.

Computer Algebra Commands

CAS Operations

Overview of CAS operations and their categorization by menu.

Algebra commands

Lists and describes commands for algebraic manipulation.

Calculus Commands

Covers derivation, integration, and limit commands.

Equation Reference

Columns and Beams (1)

Provides equations for structural mechanics.

Electricity (2)

Lists equations related to electrical circuits and laws.

Fluids (3)

Covers equations for fluid mechanics.

The Development Library

Introduction

Explains the purpose and usage of the development library.

Tools for Development

Details APEEK, PEEK, POKE, POKEARM commands.

MASD Compiler

Discusses syntax, modes, and directives for MASD.

Error and Status Messages

Messages Listed Alphabetically

Alphabetical list of error messages.

Messages Listed Numerically

Numerical list of error messages by hex code.

System Flags

System Flags (continued)

Description of various system flags.

System Flags (continued)

Continuation of system flags description.

Reserved Variables

Contents of the Reserved Variables

Explanation of key reserved variables.

PPAR

Details plotting parameters.

Technical Reference

Object Sizes

Lists object sizes in bytes.

Symbolic Integration Patterns

Provides a table of symbolic integration patterns.

Parallel Processing With Lists

General rules for parallel processing

Explains conditions for parallel list processing.

Group 4: ADD and +

Describes how ADD and + handle parallel list operations.

Keyboard Shortcuts

Press and Hold key combinations

Lists functions performed by key combinations.

Shifted softkeys

Explains shift key effects on menu labels.

The Menu-Number Table

-- menus 0-117 are semi-compatible with 48G menus --

Menu numbers and paths for built-in menus.

-- New Library 222 commands --

Details commands available in Library 222.

Related product manuals