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 #608 background imageLoading...
Page #608 background image
F - 2 Parallel Processing With Lists
! Index-oriented commands. Many array commands either establish the size of an array in rows and
columns or manipulate individual elements by their row and column indices. These commands expect these
row and column indices to be real number pairs collected in lists. For example, fV!ah!KB=M will generate
a random integer matrix having 3 rows and 4 columns. Since these commands can normally use lists as
arguments, they cannot perform parallel processing, except by using DOLIST.
! Program control commands. Program control structures and commands do no perform parallel
processing and cannot be forced to do so. However, programs containing these structures can be made to
parallel process by using DOLIST. For example,
f3!H!V!a!Q!ch!3!"!67!452!V!]!:;<=!4KL2!<=4!1!4LE6D: returns fV!a!Q!ch.
Group 3: commands that sometimes work with parallel processing
! Graphics commands that can take pixel coordinates as arguments expect those coordinates to be presented as
two-element lists of binary integers. Since these commands can normally use lists as arguments, they cannot
parallel process, except by using DOLIST.
! For the two-argument graphics commands (BOX, LINE, TLINE), if either argument is not a list (a complex
number, for example), then the commands will parallel process, taking the list argument to be multiple
complex number coordinates. For example, -8F8/!f-3F3/!-VFH/h!E6=< will draw two lines —
between (0,0) and (1,1) and between (0,0) and (3,2).
Group 4: ADD and +
! On HP 48S and HP 48SX calculators, the + command has been used to append lists or to append elements to
lists. Thus f3!H!Vh!a!' returns f3!H!V!ah. With the advent of parallel processing in the hp 48g and
hp49g series, the ADD command was created to perform parallel addition instead of +.
This has several ramifications:
! To add two lists in parallel, you must do one of the following:
" Use ADD from the %LIST% menu.
" Create a custom menu containing the ADD command.
" Assign the ADD command to a user-defined key.
! User programs must be written using ADD instead of + if the program is to be able to perform direct parallel
processing, or written with + and applied to their arguments by using DOLIST. For example, programs such
as "!#!?!+?'H+!1 will produce list concatenation when x is a list rather than parallel addition, unless
rewritten as "!#!?!+?!B44 H+!1!
! Algebraic expressions capable of calculating with variables containing lists (including those intended to
become user-defined functions) cannot be created in RPN syntax since using ADD to add two symbolic
arguments concatenates the arguments with + rather than with ADD. For example,
+T+!452!H!W!DYB2!a!.!B44!+7-T/+!DYB2 [ produces +7-T/[TWH'a.T+ rather than
+7-T/[TWH!B44!a.T+.
Group 5: Commands that set modes / states
Commands that store values in system-specific locations so as to control certain modes and machine states can
generally be used to parallel process data. The problem is that each successive parameter in the list cancels the
setting established by the previous parameter. For example, f3!H!V!a!Qh!76T is effectively the same as
Q!76T.
Group 6: One-argument, one-result commands
These commands are the easiest to use with parallel processing. Simply provide the command with a list of
arguments instead of the expected single argument. Some examples:
f3!0H!V!0ah!BSD!returns!f3!H!V!ah!

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