# Ndupn; Neg; Newob - HP 48gII Advanced User's Reference Manual

Graphing calculator.

Input/Output:
UTPN

## NDUPN

Type:
RPL command
Description: Duplicates an object n times, and returns n.
Access:
I
STACK
Input/Output:
DUP, DUPDUP, DUPN, DUP2

### NEG

Type:
Analytic function
Description: Negate Analytic Function: Changes the sign or negates an object.
Negating an array creates a new array containing the negative of each of the original elements.
Negating a binary number takes its two ' s complement (complements each bit and adds 1).
Negating a graphics object "inverts" it (toggles each pixel from on to off, or vice-versa). If the
argument is PICT, the graphics object stored in PICT is inverted.
... ß
Access:
!´L
W
Flags:
Numerical Results (-3), Binary Integer Wordsize (-5 through -10)
Input/Output:
ABS, CONJ, NOT, SIGN

### NEWOB

Type:
Command
Description: New Object Command: Creates a new copy of the specified object.
NEWOB has two main uses:
• NEWOB enables the purging of a library or backup object that has been recalled from a port.
NEWOB creates a new, separate copy of the object in memory, thereby allowing the original
copy to be purged.
Level 3/Argument 1
Level 2/Argument 2
m
STACK
NDUPN
NDUPN
Level 2
obj
NEG
L
COMPLEX
NEG
Level 1/Argument 1
z
#n
1
[ array ]
'symb'
x_unit
grob
1
PICT
1
Level 1/Argument 3
v
( °is the left-shift of the Nkey).
Level 1
n
( ß is the right-shift of the 1key).
( ´ is the left-shift of the Pkey).
Full Command and Function Reference 3-109
Level 1/Item 1
x
ndist(m, v, x)
Level
... Level
n+1
2
obj ... obj
Level 1/Item 1
–z
#n
2
[ –array ]
'–(symb)'
–x_unit
grob
2
PICT
2
Level
1
n