Access: Trigonometry, …ÑLL

Input: An expression with trigonometric terms.

Output: The transformed expression.

Flags: Exact mode must be set (flag –105 clear).

Numeric mode must not be set (flag –3 clear).

Radians mode must be set (flag –17 set).

Example: Express the following in tan terms:

(sinx)2

Command: TRIGTAN(SIN(X)^2)

Result: TAN(X)^2/(TAN(X)^2+1)

See also: TRIG, TRIGCOS, TRIGSIN

TRN

Type:

Command

 

 

 

 

 

Description:

Transpose Matrix Command: Returns the (conjugate) transpose of a matrix.

 

TRN replaces an n × m matrix A with an m × n matrix AT, where:

 

 

 

AijT = Aji for real matrices and AijT = CONJ(Aji) for complex matrices

 

If the matrix is specified by name, AT replaces A in name.

 

 

Access:

MATRIX MAKE TRN

( ´is the left-shift of the Pkey).

Input/Output:

 

 

 

 

 

 

 

 

 

 

 

 

Level 1/Argument 1

Level 1/Item 1

 

 

 

 

 

 

 

 

 

 

 

 

 

 

[[ matrix ]]

[[ matrix ]]transpose

 

 

 

 

 

'name'

 

 

 

[[ 2 3

 

 

 

Example:

1 ][ 4 6 9]] TRN returns [[ 2 4 ][ 3 6 ][ 1 9 ]].

See also:

CONJ, TRAN

 

 

 

 

 

 

 

 

 

 

 

 

 

 

TRNC

Function

 

 

 

 

 

Type:

 

 

 

 

 

Description:

Truncate Function: Truncates an object to a specified number of decimal places or significant

 

digits, or to fit the current display format.

 

 

 

ntruncate (or symbtruncate if flag –3 is set) controls how the level 2 argument is truncated, as follows:

 

 

ntruncate

 

Effect on Level 2 Argument

 

 

 

 

0 through 11

 

truncated to n decimal places

 

 

 

 

 

 

 

 

 

 

–1 through –11

truncated to n significant digits

 

 

 

 

 

 

 

 

 

 

 

 

12

 

 

truncated to the current display format

 

 

 

 

 

 

 

 

For complex numbers and arrays, each real number element is truncated. For unit objects, the

 

number part of the object is truncated.

 

 

Access:

REAL LLTRNC

( ´is the left-shift of the Pkey).

Flags:

Numerical Results (–3)

 

 

 

 

 

3-258 Full Command and Function Reference