File: brackets.man

package info (click to toggle)
scilab 2.4-1
  • links: PTS
  • area: non-free
  • in suites: potato, slink
  • size: 55,196 kB
  • ctags: 38,019
  • sloc: ansic: 231,970; fortran: 148,976; tcl: 7,099; makefile: 4,585; sh: 2,978; csh: 154; cpp: 101; asm: 39; sed: 5
file content (42 lines) | stat: -rw-r--r-- 1,073 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
.TH brackets 1 "April 1993" "Scilab Group" "Scilab Function"
.so ../sci.an
.SH NAME
brackets ([,]) - left and right brackets
.SH CALLING SEQUENCE
.nf
[a11,a12,...;a21,a22,...;...]
[s1,s2,...]=func(...)
.fi
.SH PARAMETERS
.TP 15
a11,a12,...
: any matrix (real, polynomial, rational,\fVsyslin\fR list ...) with appropriate dimensions
.TP 15
s1,s2,...
: any possible variable name
.SH DESCRIPTION
Left and right brackets are used to note vector and matrix concatenation.
These symbols are also used to denote a multiple left-hand-side for a function 
call
.LP
Inside concatenation brackets, blank or comma characters mean 
"column concatenation", semicolumn and carriage-return mean 
"row concatenation".
.LP
Note : to avoid confusions it is safer to use commas instead of blank to
separate columns.
.LP
Within multiple lhs brackets variable names must be separated by comma.
.SH EXAMPLES
.nf
[6.9,9.64; sqrt(-1) 0]
[1 +%i  2 -%i  3]
[]
['this is';'a string';'vector']
s=poly(0,'s');[1/s,2/s]
[tf2ss(1/s),tf2ss(2/s)]

[u,s]=schur(rand(3,3))
.fi
.SH SEE ALSO
comma, semicolumn