Reference Guide

Full Command and Function Reference 3-133
Input/Output: None
See also: BESTFIT, EXPFIT, LOGFIT, LR, PWRFIT
LININ
Type: Function
Description: Linear Test Function: Tests whether an algebraic is structurally linear for a given variable.
If any two subexpressions containing a variable (name) are combined only with addition and
subtraction, and any subexpression containing the variable is at most multiplied or divided by
another factor not containing the variable, the algebraic (symb) is determined to be linear for that
variable. LININ returns a 1 if the algebraic is linear for the variable, and a 0 if not.
Access:
TEST
LININ
( °is the left-shift of the Nkey).
Input/Output:
Level 2/Argument 1 Level 1/Argument 2 Level 1/Item 1
'symb'
'name'
0/1
Example 1:
'(X+1)*(Y^-2^Z)+(X/(3-Z^3)' 'X' LININ
returns
1
.
Example 2:
'(X^2-1)/(X+1)' 'X' LININ
returns
0
.
(Although this equation yields a linear equation when factored, LININ tests the equation as
described above.)
LINSOLVE
Type: Command
Description: Solves a system of linear equations.
Access: Symbolic solve, , P
SOLVE
,
LIN
-
S
Input: Level 2/Argument 1: An array of equations.
Level1/Argument 2: A vector of the variables to solve for.
Output: Level 3/Item 1: The system of equations, as a list containing the inputs as above.
Level 2/Item 2: A list of the pivot points.
Level 1/Item 3: The solution.
Flags: Exact mode must be set (flag –105 clear).
Numeric mode must not be set (flag –3 clear).
See also: DESOLVE, SOLVE, MSLV
LIST→
Type: Command
Description: List to Stack Command: Takes a list of n objects and returns each object to a separate level, and
returns the total number of objects to item n+1 (stack level 1).
The command OBJ→ also provides this function.
Access: …µ
LIST
Input/Output:
Level 1/Argument 1
Level
n+1
/Item
1
...
Level
2
/Item
n
Level
1
/Item
n+1
{ obj
1
, ...,obj
n
}
obj
1
...
obj
n
n
See also: ARRY→, DTAG, EQ→, →LIST, OBJ→, STR→
LIST
Type: Command
Description: Stack to List Command: Takes n specified objects and returns a list of those objects.
Access:
TYPE
LIST
( °is the left-shift of the Nkey).
LIST
LIST
( °is the left-shift of the Nkey).