~ubuntu-branches/ubuntu/karmic/scilab/karmic

« back to all changes in this revision

Viewing changes to man/programming/brackets.cat

  • Committer: Bazaar Package Importer
  • Author(s): Torsten Werner
  • Date: 2002-03-21 16:57:43 UTC
  • Revision ID: james.westby@ubuntu.com-20020321165743-e9mv12c1tb1plztg
Tags: upstream-2.6
ImportĀ upstreamĀ versionĀ 2.6

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
brackets          Scilab Group          Scilab Function            brackets
 
2
NAME
 
3
   brackets ([,]) - left and right brackets
 
4
  
 
5
CALLING SEQUENCE
 
6
 [a11,a12,...;a21,a22,...;...]
 
7
 [s1,s2,...]=func(...)
 
8
PARAMETERS
 
9
 a11,a12,...     : any matrix (real, polynomial, rational,syslin list ...)
 
10
                 with appropriate dimensions
 
11
                 
 
12
 s1,s2,...       : any possible variable name
 
13
                 
 
14
DESCRIPTION
 
15
   Left and right brackets are used to note vector and matrix concatenation.
 
16
  These symbols are also used to denote a multiple left-hand-side for a
 
17
  function  call
 
18
  
 
19
   Inside concatenation brackets, blank or comma characters mean  "column
 
20
  concatenation", semicolumn and carriage-return mean  "row concatenation".
 
21
  
 
22
   Note : to avoid confusions it is safer to use commas instead of blank to
 
23
  separate columns.
 
24
  
 
25
   Within multiple lhs brackets variable names must be separated by comma.
 
26
  
 
27
EXAMPLES
 
28
 [6.9,9.64; sqrt(-1) 0]
 
29
 [1 +%i  2 -%i  3]
 
30
 []
 
31
 ['this is';'a string';'vector']
 
32
 s=poly(0,'s');[1/s,2/s]
 
33
 [tf2ss(1/s),tf2ss(2/s)]
 
34
 
 
35
 [u,s]=schur(rand(3,3))
 
36
SEE ALSO
 
37
   comma, semicolumn
 
38