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

« back to all changes in this revision

Viewing changes to man/pvm/pvm_f772sci.man

  • 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
 
.TH pvm_f772sci 1 "May 1998" "Scilab // Group" "Scilab function"
2
 
.so ../sci.an
3
 
.SH NAME
4
 
pvm_sci2f77 - Convert a F77 complex into a complex scalar
5
 
.SH CALLING SEQUENCE
6
 
.nf
7
 
[res] = pvm_f772sci(var)
8
 
.fi
9
 
.SH PARAMETERS
10
 
.TP 5
11
 
var : local scilab variable.  On  return, the  variable will  be
12
 
overwritten with the result  of conversion operation.
13
 
.TP 5
14
 
res
15
 
: if the parameter var is not a variable, the result of the conversion 
16
 
is returned in res. 
17
 
 
18
 
.SH DESCRIPTION
19
 
\fVpvm_f772sci\fR   converts all the  complex    of a scilab  variable
20
 
represented  in teh F77  way into in  a  scilab representation. May be
21
 
useful if  an   application  is receiving  data  from  a   non  scilab
22
 
application (directly from a C or F77 program for example).
23
 
 
24
 
Note  that  the parameter is passed  by  adress. It  means that if the
25
 
parameter is a  variable, this variable will  be overwritten with  the
26
 
result of conversion operation. On the other case, if the parameter is
27
 
not a variable, the result will be returned in res.
28
 
 
29
 
For example:
30
 
.nf
31
 
-->a = [1+%i, 2+2*%i,3+3*%i]
32
 
 a  =
33
 
 
34
 
!   1. + i      2. + 2.i    3. + 3.i !
35
 
 
36
 
-->pvm_f772sci(a)
37
 
 
38
 
-->a
39
 
 a  =
40
 
 
41
 
!   1. + 2.i    3. + i      2. + 3.i !
42
 
 
43
 
-->b = pvm_f772sci([1+%i, 2+2*%i,3+3*%i])
44
 
 b  =
45
 
 
46
 
!   1. + 2.i    3. + i      2. + 3.i !
47
 
.fi
48
 
.SH SEE ALSO
49
 
pvm_sci2f77