<< getAllocatedSparseMatrix sparse freeAllocatedSparseMatrix >>

Scilab Help >> API Scilab > legacy > sparse > getAllocatedComplexSparseMatrix

getAllocatedComplexSparseMatrix

複素数疎行列変数を取得.

呼び出し手順

int getAllocatedComplexSparseMatrix(void* _pvCtx, int* _piAddress, int* _piRows, int* _piCols, int* _piNbItem, int** _piNbItemRow, int** _piColPos, double** _pdblReal, double** _pdblImg)
int getNamedAllocatedComplexSparseMatrix(void* _pvCtx, const char* _pstName, int* _piRows, int* _piCols, int* _piNbItem, int** _piNbItemRow, int** _piColPos, double** _pdblReal, double** _pdblImg)

引数

_pvCtx

Scilab環境ポインタ, api_scilab.hで定義された"pvApiCtx"で指定.

_piAddress

Scilab変数のアドレス.

_pstName

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

_piRows

返される行の数.

_piCols

返される列の数.

_piNbItem

返される非ゼロ値の数.

_piNbItemRow

返される各行の要素の数.

_piColPos

返される各要素の列方向位置.

_pdblReal

返される実部データ配列のアドレス.

_pdblImg

返される虚部データ配列のアドレス (大きさ: _iCols * _iRows)

戻り値

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


Report an issue
<< getAllocatedSparseMatrix sparse freeAllocatedSparseMatrix >>