get_value_matrix T_get_value_matrix GetValueMatrix GetValueMatrix get_value_matrix (算子)
名称
get_value_matrix T_get_value_matrix GetValueMatrix GetValueMatrix get_value_matrix — 返回矩阵的一个或多个元素。
签名
def get_value_matrix (matrix_id : HHandle, row : MaybeSequence[int], column : MaybeSequence[int]) -> Sequence[float]
def get_value_matrix_s (matrix_id : HHandle, row : MaybeSequence[int], column : MaybeSequence[int]) -> float
描述
算子 get_value_matrix get_value_matrix GetValueMatrix GetValueMatrix GetValueMatrix get_value_matrix returns the values of one ore
more elements of the Matrix as a tuple of floating point
numbers. The Matrix is given by the matrix handle
MatrixID MatrixID MatrixID MatrixID matrixID matrix_id . The row coordinates of the elements of the
Matrix are determined by the tuple Row Row Row Row row row , the
column coordinates by the tuple Column Column Column Column column column 。
示例:
Row Row Row Row row row = [0,2,1] ,
Column Column Column Column column column = [1,0,3]
执行信息
多线程类型:可重入(与非独占算子并行运行)。
多线程作用域:全局(可从任何线程调用)。
未采用并行化处理。
参数
MatrixID MatrixID MatrixID MatrixID matrixID matrix_id (输入控制) matrix → HMatrix , HTuple HHandle HTuple Htuple (handle) (IntPtr ) (HHandle ) (handle )
输入矩阵的矩阵句柄。
Row Row Row Row row row (输入控制) integer(-array) → HTuple MaybeSequence[int] HTuple Htuple (integer) (int / long) (Hlong ) (Hlong )
Row numbers of matrix elements to be returned.
默认值:
0
建议值:
0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 15, 20, 30, 50, 100
限制:
Row >= 0
Column Column Column Column column column (输入控制) integer(-array) → HTuple MaybeSequence[int] HTuple Htuple (integer) (int / long) (Hlong ) (Hlong )
Column numbers of matrix elements to be returned.
默认值:
0
建议值:
0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 15, 20, 30, 50, 100
限制:
Column >= 0
Value Value Value Value value value (输出控制) real(-array) → HTuple Sequence[float] HTuple Htuple (real) (double ) (double ) (double )
Values of indicated matrix elements.
结果
如果参数有效,算子 get_value_matrix get_value_matrix GetValueMatrix GetValueMatrix GetValueMatrix get_value_matrix 返回值 2 ( H_MSG_TRUE )。如有必要,则抛出异常。
可能的前趋
create_matrix create_matrix CreateMatrix CreateMatrix CreateMatrix create_matrix
可能的后继
clear_matrix clear_matrix ClearMatrix ClearMatrix ClearMatrix clear_matrix
另见
set_value_matrix set_value_matrix SetValueMatrix SetValueMatrix SetValueMatrix set_value_matrix
模块
基础