~ubuntu-branches/ubuntu/hoary/scilab/hoary

« back to all changes in this revision

Viewing changes to man/programming/mtlb_mode.cat

  • Committer: Bazaar Package Importer
  • Author(s): Torsten Werner
  • Date: 2005-01-09 22:58:21 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20050109225821-473xr8vhgugxxx5j
Tags: 3.0-12
changed configure.in to build scilab's own malloc.o, closes: #255869

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
lines            Scilab Group            Scilab Function              lines
2
 
NAME
3
 
   mtlb_mode - switch Matlab like operations
4
 
  
5
 
CALLING SEQUENCE
6
 
 mmode=mtlb_mode()
7
 
 mtlb_mode(mmode)
8
 
PARAMETERS
9
 
 mmode      : boolean
10
 
            
11
 
DESCRIPTION
12
 
   Scilab and Matlab additions and substractions work differently when used
13
 
  with empty matrices:
14
 
  
15
 
 Scilab     :
16
 
            
17
 
           a+[] -->a
18
 
           a-[] -->a
19
 
           []+a -->a
20
 
           []-a -->-a
21
 
           a+[] -->[]
22
 
           a-[] -->[]
23
 
           []+a -->[]
24
 
           []-a -->[]
25
 
 Matlab       mtlb_mode(%t)  switches to Matlab evaluation mode for
26
 
            additions and substractions.  mtlb_mode(%f)  switches back to
27
 
            Scilab mode.   mtlb_mode() return the current mmode' value
28
 
            
29
 
SEE ALSO
30
 
   empty 
31