0270AB |
~xCHOOSE
|
( title {elems} pos → ob 1 )
( title {elems} pos → 0 )
User-Defined Choose Box Cmd
--
Creates a user-defined choose box
--
Related: INFORM,NOVAL
|
01C0AB |
~xCOL+
|
( [[]] [[]]' n → [[]]" )
( [] x n → []' )
Insert Column Cmd
--
Inserts an array (vector or
matrix) into a matrix (one or
more elements into a vector) at
the position indicated by nindex,
and returns the modified array.
--
[[mat]]1 [mat]2 nidx → [[mat]]3
[[mat]]1 [vec]col nidx → [[mat]]2
[vec]1 nelement nidx → [vec]2
--
Related: COL-,CSWP,ROW+,ROW-
|
01B0AB |
~xCOL-
|
( [] n → []' xn )
( [[]] n → [[]]' [vn] )
Delete Column Cmd
--
Deletes column n of a matrix (or
element n of a vector), and
returns the modified matrix (or
vector) and the deleted column
(or element).
--
Related: COL+,CSWP,ROW+,ROW-
|
0030AB |
~xCOND
|
( [[n*n]] → x )
Conditional Number Cmd
--
Returns the 1-norm (column norm)
condition number of a square
matrix.
--
Related: SNRM,SRAD,TRACE
|
01E0AB |
~xCSWP
|
|
0360AB |
~xDOLIST
|
( {1}...{n} n prog → {} )
( {1}...{n} prog → {} (n=1) )
Do to List Cmd
--
Applies commands, programs, or
user-defined functions to lists.
--
{lst}1 ...{lst}n n «prog» → {res}
{lst}1 ...{lst}n n cmd → {res}
{lst}1 ...{lst}n n name → {res}
{lst}1 ...{lst}n «prog» → {res}
{lst}1 ...{lst}n cmd → {res}
{lst}1 ...{lst}n name → {res}
--
Related: DOSUBS,ENDSUB,NSUB,STREAM
|
02E0AB |
~xDOSUBS
|
( {} n prog → {}' )
( {} prog → {}' (n=1) )
Do to Sublist Cmd
--
Applies a program or command to
groups of elements in a list.
--
{list}1 n «prog» → {list}2
{list}1 n command → {list}2
{list}1 n name → {list}2
{list}1 «prog» → {list}2
{list}1 command → {list}2
{list}1 name → {list}2
--
Related: DOLIST ,ENDSUB,NSUB,STREAM
|
0090AB |
~xEGV
|
( [[]] → [[evect]]' [evals] )
Eigenvalues and Eigenvectors Command
--
Computes the eigenvalues and right
eigenvectors for a square matrix.
--
Related: EGVL
|
00A0AB |
~xEGVL
|
( [[]] → [egval] )
Eigenvalues Cmd
--
Computes the eigenvalues of a
square matrix.
--
Related: EGV
|
0310AB |
~xENDSUB
|
( → x )
Ending Sublist Cmd
--
Provides a way to access the
total number of sublists contained
in the list used by DOSUBS.
--
Related: DOSUBS,NSUB
|
81FC2 |
xEVAL
|
( ob → ? )
Evaluate Object Cmd
--
Evaluates the object.
--
obj → (see below)
Obj. Type Effects of Evaluation
Local Name Recalls the contents
of the variable.
Global Name Calls the contents of
the variable:
;
A name is evaluated.
A program is evaluated.
A directory becomes the current
directory.
Other objects are put on the
stack.
If no variable exists for a given
name, evaluating the name returns
the name to the stack.
Program. Enters each object in
the program:
Names are evaluated (unless quoted).
ed).
Cmds are evaluated.
Other objects are put on the
stack.
List Enters each object in the
list:
Names are evaluated.
Cmds are evaluated.
Programs are evaluated.
Other objects are put on the
stack.
Tagged If the tag specifies a
port, recalls and evaluates the
specified object. Otherwise, puts
the untagged object on the stack.
Algebraic Enters each object in
the algebraic expression:
Names are evaluated.
Cmds are evaluated.
Other objects are put on the
stack.
Cmd,
Func, XLIB
Name Evaluates the specified object.
Other Objects Puts the object on
the stack.
--
Related: →NUM ,SYSEVAL
|