CAObject::ResultTable
ADE User Guide > ADE Server Class Reference > CAObject
描述
作为一个 CATable对象返回一个变量计算后的结果,包含0个或者多个维度,如果变量对象不能被计算返回值为Nothing。一个 CATable用一个智能数组(多维)表示,该对象包含多种方法可用来获取单元格数据。如果结果是一个标量(例如,不是数组)。 CATable的维度将是0。
ResultType属性控制计算哪种结果:Mid(中值)、Sample(样本)、Mean(平均值)、Statistics(统计数据)、Bands(概率带)、PDF(概率密度函数)或者 CDF(累计密度函数)。
如果变量还没有被计算,当其方法被调用时将被计算。如果这需要冗长计算,该调用将花很长时间完成。当 MethodEvaluationTimeLimit设定好后,如果超出时间限制,结果将终止, 错误代码为77。
If an error occurs during evaluation, the ErrorCode will be set to something other than 0 or 2. If a warning occurs during evaluation, a result will be returned and the ErrorCode will be 2. The OutputBuffer contains the error message or warning.
Data type
Example Usage
CATable tab = obj.ResultTable;
ErrorCodes
This list is incomplete -- TBD
- 0 - success
- 2 - warning
- 12 - insufficient memory
- 37,38 - Could not retrieve result
- 77 - MethodEvaluationTimeLimit exceeded
- 78 - Computation aborted
See Also
Comments
Enable comment auto-refresher