Rlab2 Reference Manual
Ian Searle,
ians@eskimo.com
Version 2, 5/18/97
1.
Introduction
1.1 Background
1.2 Installation
1.3 Getting Started
1.4 Command Line Options and Environment
1.5 Migrating From Rlab1 to Rlab2
1.6 Document reproduction and errors
1.7 Acknowledgments
2.
Tutorial
2.1 Fundamental Operations
2.2 Computing the Mean
2.3 Computing the Mean Again
2.4 Fitting a Curve
3.
Objects and Data
3.1 Numeric
3.2 String
3.3 List
3.4 Function
4.
Program Control Flow
4.1 If Statement
4.2 While Statement
4.3 For Statement
4.4 Break Statement
4.5 Continue Statement
5.
Input and Output
5.1 File-Handles
5.2 Programs
5.3 Data
6.
User Functions
6.1 Function Syntax
6.2 Using Functions
6.3 Function Arguments
6.4 Function Variable Scoping Rules
6.5 Function Recursion
6.6 Loading Functions and Function Dependencies
6.7 Static Variables
6.8 Help for User Functions
7.
Builtin Functions
7.1 abs
7.2 acos
7.3 all
7.4 any
7.5 asin
7.6 atan
7.7 atan2
7.8 backsub
7.9 balance
7.10 ceil
7.11 chol
7.12 class
7.13 clear
7.14 close
7.15 conj
7.16 cos
7.17 cumprod
7.18 cumsum
7.19 det
7.20 diag
7.21 diary
7.22 dlopen
7.23 eig
7.24 entinfo
7.25 error
7.26 eval
7.27 exist
7.28 exp
7.29 factor
7.30 fft
7.31 filter
7.32 find
7.33 findstr
7.34 finite
7.35 floor
7.36 format
7.37 fprintf
7.38 fread
7.39 frexp
7.40 fseek
7.41 full
7.42 fwrite
7.43 getenv
7.44 getline
7.45 help
7.46 hess
7.47 ifft
7.48 imag
7.49 inf
7.50 int
7.51 isinf
7.52 isnan
7.53 issymm
7.54 length
7.55 load
7.56 log
7.57 log10
7.58 logb
7.59 max
7.60 maxi
7.61 members
7.62 min
7.63 mini
7.64 mnorm
7.65 mod
7.66 nan
7.67 nlleastsq
7.68 ode
7.69 ones
7.70 open
7.71 printf
7.72 prod
7.73 putenv
7.74 qr
7.75 quit
7.76 rand
7.77 rcond
7.78 read
7.79 readm
7.80 require
7.81 reshape
7.82 rfile
7.83 round
7.84 schur
7.85 sign
7.86 trig
7.87 size
7.88 sizeof
7.89 sleep
7.90 solve
7.91 sort
7.92 sparse
7.93 spconvert
7.94 spfactor
7.95 sprintf
7.96 spsolve
7.97 spwrite
7.98 sqrt
7.99 srand
7.100 strsplt
7.101 strtod
7.102 strtol
7.103 sum
7.104 svd
7.105 sylv
7.106 system
7.107 trig
7.108 tic
7.109 tmpnam
7.110 toc
7.111 type
7.112 vpnorm
7.113 writeb
7.114 writem
7.115 zeros
8.
Programmer's Reference
8.1 Introduction
8.2 Interpreter Operation
8.3 Writing Builtin Functions
9.
Programmer's Interface
9.1 bltin_get_ent
9.2 ent_Clean
9.3 class_double
9.4 class_char_pointer
9.5 class_matrix_real
9.6 get_file_ds
9.7 close_file_ds