# Domain; Dosubs; Dot - HP 48gII Advanced User's Reference Manual

Graphing calculator.

## DOMAIN

CAS:
List the domain of real numbers for which a function is defined.

### DOSUBS

Type:
Command
Description: Do to Sublist Command: Applies a program or command to groups of elements in a list.
The real number n can be omitted when the first argument is one of the following:
• A command.
• A user program containing a single command.
• A program with a user-defined function structure.
• A global or local name that refers to one of the above.
The first iteration uses elements 1 through n from the list; the second iteration uses elements 2
through n + 1; and so on. In general, the m
corresponding to positions m through m + n – 1.
During an iteration, the position of the first element used in that iteration is available to the user
using the command NSUB, and the number of groups of elements is available using the
command ENDSUB. Both of these commands return an Undefined Local Name error if
executed when DOSUBS is not active.
DOSUBS returns the Invalid User Function error if the object at level 1/argument 3 is a user
program that does not contain only one command and does not have a user-defined function
structure. DOSUBS also returns the Wrong Argument Count error if the object at level
1/argument 3 is a command that does not accept 1 to 5 arguments of specific types (DUP, ROT,
or
LIST, for example).
Access:
Input/Output:
DOLIST, ENDSUB, NSUB, STREAM

### DOT

Type:
Command
Description: Dot Product Command: Returns the dot product A B of two arrays A and B, calculated as the
sum of the products of the corresponding elements of the two arrays.
Both arrays must have the same dimensions.
Some authorities define the dot product of two complex arrays as the sum of the products of the
conjugated elements of one array with their corresponding elements from the other array. The
hp49g+/hp48gII uses the ordinary products without conjugation. If you prefer the alternative
definition, apply CONJ to one array before using DOT.
!Ø L
Access:
3-50 Full Command and Function Reference
LIST PROCEDURES DOSUBS
Level 3/Argument 1
Level 2/Argument 2
{ list }
1
{ list }
1
{ list }
1
VECTOR DOT
VECTOR DOT
iteration uses the elements from the list
th
( °is the left-shift of the Nkey).
Level 1/Argument 3
n
« program "
n
command
n
name
{ list }
« program "
1
{ list }
command
1
{ list }
name
1
( Ø is the left-shift of the 5key).
( ´ is the left-shift of the Pkey).
Level 1/Item 1
{ list }
2
{ list }
2
{ list }
2
{ list }
2
{ list }
2
{ list }
2