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

« back to all changes in this revision

Viewing changes to man/eng/mtlb/mtlb_uint32.xml

  • 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
<?xml version="1.0" encoding="ISO-8859-1" standalone="no"?>
 
2
<!-- When this file is modified please also modify mtlb_uint8.xml and mtlb_uint16.xml-->
 
3
<!DOCTYPE MAN SYSTEM "../../manrev.dtd">
 
4
<MAN>
 
5
  <LANGUAGE>eng</LANGUAGE>
 
6
  <TITLE>mtlb_uint32</TITLE>
 
7
  <TYPE>M2SCI function</TYPE>
 
8
  <DATE>April 2004</DATE>
 
9
 
 
10
  <SHORT_DESCRIPTION name="mtlb_uint32">Matlab uint32 emulation function</SHORT_DESCRIPTION>
 
11
 
 
12
  <DESCRIPTION>
 
13
 
 
14
    <P>Matlab and Scilab <VERB>uint32</VERB> behave differently in some particular cases:</P>
 
15
 
 
16
    <DESCRIPTION_INDENT>
 
17
    <DESCRIPTION_ITEM>
 
18
    <ITEMIZE>
 
19
      <ITEM>
 
20
        <SP>
 
21
        With complex input: Matlab <VERB>uint32</VERB> can be used with complex values what Scilab function can not.
 
22
        </SP>
 
23
      </ITEM>
 
24
 
 
25
      <ITEM>
 
26
        <SP>
 
27
        With <VERB>%inf</VERB>: Matlab <VERB>uint32</VERB> returns 4294967295 and Scilab returns 0.
 
28
        </SP>
 
29
      </ITEM>
 
30
    </ITEMIZE>
 
31
    </DESCRIPTION_ITEM>
 
32
    </DESCRIPTION_INDENT>
 
33
 
 
34
    <P>
 
35
    The function <VERB>mtlb_uint32(A)</VERB> is used by
 
36
    <VERB>mfile2sci</VERB> to replace <VERB>uint32(A)</VERB> when it was not
 
37
    possible to know what was the input while porting Matlab code to Scilab. This function will
 
38
    determine the correct semantic at run time. If you want to have a
 
39
    more efficient code it is possible to replace <VERB>mtlb_uint32</VERB> calls:
 
40
    </P>
 
41
 
 
42
    <DESCRIPTION_INDENT>
 
43
    <DESCRIPTION_ITEM>
 
44
    <ITEMIZE>
 
45
      <ITEM>
 
46
        <SP>
 
47
        If <VERB>A</VERB> does not contain <VERB>%inf</VERB> values
 
48
        <VERB>mtlb_uint32(A)</VERB> may be replaced by <VERB>uint32(A)</VERB>
 
49
        </SP>
 
50
      </ITEM>
 
51
    </ITEMIZE>
 
52
    </DESCRIPTION_ITEM>
 
53
    </DESCRIPTION_INDENT>
 
54
 
 
55
    <P>Caution: <VERB>mtlb_uint32</VERB> has not to be used for hand coded functions.</P>
 
56
 
 
57
  </DESCRIPTION>
 
58
 
 
59
  <AUTHORS>
 
60
    <AUTHORS_ITEM>V.C.</AUTHORS_ITEM>
 
61
  </AUTHORS>
 
62
</MAN>