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

« back to all changes in this revision

Viewing changes to man/elementary/minus.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
minus            Scilab Group            Scilab Function              minus
 
2
NAME
 
3
   minus (-) -  substraction operator, sign changes
 
4
  
 
5
CALLING SEQUENCE
 
6
 X-Y
 
7
 -Y
 
8
PARAMETERS
 
9
 X    : scalar or vector or matrix of numbers, polynomials or rationals.
 
10
      It may also be a syslin list
 
11
      
 
12
 Y    : scalar or vector or matrix of numbers, polynomials or rationals.
 
13
      It may also be a syslin list
 
14
      
 
15
DESCRIPTION
 
16
   Substraction
 
17
  
 
18
   For numeric operands substraction as its usual meaning. If one of the
 
19
  operands is a matrix and the other one a scalar the the operation is
 
20
  performed element-wise. if Y==[] X  is returned; if X==[] -Y  is
 
21
  returned.
 
22
  
 
23
   Substraction may also be defined for other data types through
 
24
  "soft-coded" operations.
 
25
  
 
26
EXAMPLE
 
27
 [1,2]-1
 
28
 []-2
 
29
 
 
30
 %s-2
 
31
 1/%s-2
 
32
 "cat"+"enate"
 
33
SEE ALSO
 
34
   addf, mtlb_mode
 
35