Scilab Home page | Wiki | Bug tracker | Forge | Mailing list archives | ATOMS | File exchange
Please login or create an account
Change language to: English - Français - Português - Русский

Please note that the recommended version of Scilab is 6.0.1. This page might be outdated.
See the recommended documentation of this function

Scilabヘルプ >> API Scilab > legacy > double > createScalarComplexDouble

createScalarComplexDouble

スカラー複素数doubleをScilabメモリに作成.

呼び出し手順

int createScalarComplexDouble(void* _pvCtx, int _iVar, double _dblReal, double _dblImg)
int createNamedScalarComplexDouble(void* _pvCtx, const char* _pstName, double _dblReal, double _dblImg)

引数

_pvCtx

Scilab環境ポインタ, api_scilab.hで提供される"pvApiCtx"を指定.

_iVar

変数を保存するScilabメモリの位置.

_pstName

"名前指定" 関数の場合の変数名.

_dblReal

実部の値.

_dblImg

虚部の値.

戻り値

成功した場合は 0, それ以外はScilabコンソールにエラーメッセージを表示し, 最初のエラー番号を返します.

Scilab Enterprises
Copyright (c) 2011-2017 (Scilab Enterprises)
Copyright (c) 1989-2012 (INRIA)
Copyright (c) 1989-2007 (ENPC)
with contributors
Last updated:
Tue Feb 14 15:10:43 CET 2017