manual:chapter6:constants:cmd_jconst

This is an old revision of the document!



Synopsis


Push the symbolic constant 'j' on the stack

Stack Diagram


Input Stack Output Stack
j
Level 1 Level 1

Legend

Type Analytic Function
Parallel list processing Group 1
Affected by flags None

Description


The j function pushes on the stack a symbolic representation of the imaginary unit $j=\sqrt{-1}$.

j is provided as convenient alias of i for those applications where the latter might be confused with the i variable (usually Electronics).

Application of the →NUM operator returns the complex number (0, 1) in rectangular format.

Compatibility


This command is new in newRPL and does not exist in userRPL.

Usage


The following program

« 6 SETPREC
  j DUP
  →NUM
»

will result in

2:                             j
1:                         (0,1)
……………………………………………………………………………………

Related Commands


Constants 4

Command Short Description
π
і
е
ј
  • manual/chapter6/constants/cmd_jconst.1571574682.txt.gz
  • Last modified: 2019/10/20 05:31
  • by jojo1973