File: slash.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 (29 lines) | stat: -rw-r--r-- 884 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

slash(1)                       Scilab Function                       slash(1)
NAME
  slash (/) - right division and feed back

DESCRIPTION
  Right division.  x=A / b is the solution of x*b=A .

  b/a = (a' \ b')' .

  a ./  b is the matrix with entries a(i,j)/ b(i,j).  If b is scalar (1x1
  matrix) this operation is the same as  a./b*ones(a). (Same convention if a
  is a scalar).

  Remark that 123./b is interpreted as (123)./b. In this cases dot is part of
  the operator, not of the number.

  Backslash stands for left division.

  System feed back.  S=G/.K evaluates S=G*(eye+K*G)^(-1) this operator avoid
  simplification problem.

  Remark that G/.5 is interpreted as G/(.5). In such cases dot is part of the
  number, not of the operator.
  Comment // comments a line i.e lines which begin by // are ignored by the
  interpreter.

SEE ALSO
  inv, percent, backslash, ieee