# C2p; Cascfg; Cascmd; Chinrem - HP 48gII Advanced User's Reference Manual

Graphing calculator.

Input:
A list of vectors defining a vector sub-space of
Output:
A list containing the vectors of a basis of the vector sub-space.
Flags:
Exact mode must be set (flag –105 clear).
Numeric mode must not be set (flag –3 clear).
Example:
Find the vectors that form a basis of the sub-space defined by [1,2,3], [1,1,1], and [2,3,4]
Command:
BASIS({[1,2,3],[1,1,1],[2,3,4]})
Result:
{[1,0,-1],[0,1,2]}
IBASIS

## C2P

Type:
Command
Description:
Takes a list of cycles as an argument, and returns the equivalent permutation. In other words,
finds a permutation from its cyclical decomposition.
Arithmetic, !Þ
Access:
Input:
A list of cycles equivalent to a permutation. For example, the list {1,3,5} defines a cycle C,
such that C(1)=3, C(3)=5 and C(5)=1, while items 2 and 4 are not changed. This could be
followed by {2,4} which defines a cycle C, such that C(2)=4, and C(4)=2.
Output:
A list representing the permutation equivalent to the cycles.
Example:
Convert the cycles given by {{1,3,5},{2,4}} into a permutation:
Command:
C2P( {{1,3,5},{2,4}})
Result:
{3,4,5,2,1}
P2C, CIRC

### CASCFG

Type:
Command
Restores the default CAS mode settings. This command is almost equivalent to pressing L
Description:
!RESET , then selecting "Reset all" and pressing !!OK! , when the CAS Modes input form is
displayed. The difference is that CASCFG sets the modulus value to 13, whereas "Reset all"
sets the modulus to 3.
Catalog, ...µ
Access:

### CASCMD

Type:
Command
Description:
Displays a list of CAS operations. Selecting one with OK displays a description, related
operations, an example of the operation, and the option to copy the example to the command
line. More details are given in Appendix C and Appendix H of the User's Guide. If level 1 of
the stack contains a string, the list of CAS operations will be displayed beginning at this point.
Catalog, ...µ
Access:
HELP

### CHINREM

Type:
Command
Description:
Chinese Remainder function. Solves a system of simultaneous polynomial congruences in the
ring Z[x].
Arithmetic, !Þ
Access:
PERMUTATION
or tools IL
,
POLYNOMIAL
.
n
R
Computer Algebra Commands 4-17  