File: dot.cat

package info (click to toggle)
scilab 2.6-4
  • links: PTS
  • area: non-free
  • in suites: woody
  • size: 54,632 kB
  • ctags: 40,267
  • sloc: ansic: 267,851; fortran: 166,549; sh: 10,005; makefile: 4,119; tcl: 1,070; cpp: 233; csh: 143; asm: 135; perl: 130; java: 39
file content (31 lines) | stat: -rw-r--r-- 997 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
dot              Scilab Group              Scilab Symbol                dot
NAME
   dot (.) -  symbol
  
CALLING SEQUENCE
 123.33
 a.*b
 [123,..
  456]
DESCRIPTION
 .      Dot is used to mark decimal point for numbers : 3.25 and 0.001
        
 .<op>  used in cunjunction with other operator symbols (* / \ ^ ') to
        form other operators.  Element-by-element multiplicative operations
        are obtained using .* , .^ , ./ , .\ or .'.  For example, C = A ./
        B is the matrix with elements c(i,j) = a(i,j)/b(i,j). Kronecker
        product is noted .*. .  Note that when dot follows a number it is
        alway prt of the number so 2.*x is evaluated as 2.0*x and 2 .*x is
        evaluated as (2).*x
        
 ..     Continuation.  Two or more decimal points at the end of a line
        causes the following line to be a continuation.
        
EXAMPLE
 1.345
 x=[1 2 3];x.^2 .*x // a space is required between 2 and dot
 [123,..
  456]
SEE ALSO
   star, hat, slash, backslash