Scilab Website | Contribute with GitLab | Mailing list archives | ATOMS toolboxes
Scilab Online Help
5.3.0 - Português

Change language to:
English - Français - 日本語 -

Please note that the recommended version of Scilab is 2025.0.0. This page might be outdated.
However, this page did not exist in the previous stable version.

Manual Scilab >> Computações Paralelas com PVM > pvm_sci2f77

pvm_sci2f77

Convert complex scalar into F77

Calling Sequence

[res] = pvm_sci2f77(var)

Arguments

var : local scilab variable. On return, the variable will be

overwritten with the result of conversion operation.

res

if the parameter var is not a variable, the result of the conversion is returned in res.

Description

pvm_sci2f77 converts all the complex of a scilab variable (array, list...) in the F77 representation. MAy be useful if an application is sendind data to a non scilab application (direcvtly to a C or F77 program for example).

Note that the parameter is passed by adress. It means that if the parameter is a variable, this variable will be overwritten with the result of conversion operation. On the other case, if the parameter is not a variable, the result will be returned in res.

Examples

a = [1+%i, 2+2*%i,3+3*%i];
pvm_sci2f77(a) 
if norm(a - [1.+2* %i,1+3*%i, 2. + 3. *%i ]) >10*%eps then pause;end

See Also

<< pvm_reduce Computações Paralelas com PVM pvm_send >>

Copyright (c) 2022-2024 (Dassault Systèmes)
Copyright (c) 2017-2022 (ESI Group)
Copyright (c) 2011-2017 (Scilab Enterprises)
Copyright (c) 1989-2012 (INRIA)
Copyright (c) 1989-2007 (ENPC)
with contributors
Last updated:
Wed Jan 26 16:24:43 CET 2011