File: brackets.cat

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 (41 lines) | stat: -rw-r--r-- 1,083 bytes parent folder | download
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

brackets(1)                    Scilab Function                    brackets(1)
NAME
  brackets ([,]) - left and right brackets

CALLING SEQUENCE
  [a11,a12,...;a21,a22,...;...]
  [s1,s2,...]=func(...)

PARAMETERS

  a11,a12,...    : any matrix (real, polynomial, rational,syslin list ...)
                 with appropriate dimensions

  s1,s2,...      : any possible variable name

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 func-
  tion call

  Inside concatenation brackets, blank or comma characters mean "column con-
  catenation", semicolumn and carriage-return mean "row concatenation".

  Note : to avoid confusions it is safer to use commas instead of blank to
  separate columns.

  Within multiple lhs brackets variable names must be separated by comma.

EXAMPLES
  [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))

SEE ALSO
  comma, semicolumn