Bindings, versions, and transport

Check Numeric API versions, bindings, and transport rules. Find each symbol’s access policy, facade, and conditions in the reference cards.

Numerical computing, models, statistics, and Datasets with Python

Context and authorization

Declare gxtxt_api_require('NUMERIC_API_v1@1:math.numeric'). The API version is v1, and the provider tested here is version 1.65.0. The browser can show interfaces for Tcl, Octave, C++, and Script Bridge. Use the exact Python key, or use the dispatcher with a selector from the original catalog. gxtxt_api_describe lists the keys in the active context.

Represent the data

Use an ndarray with an explicit dtype for calls that accept numeric buffers. For a catalog operand, specify kind, shape, and the real values flattened in Fortran order. For complex data, add imaginary with the same number of elements. Legacy array facades use {'kind':'vector','value':v} or the corresponding scalar / matrix form. Check the signature of the specific key. A column vector [N,1], a rectangular matrix, and a higher-rank array have distinct semantics.

Selectors, units, and limits

Use operationMetadata for a catalog selector, operationByExpressionName for a token in the CORE grammar, and callOperation to call an operation with typed operands. An entry in the original catalog documents the owning component’s contract. The binding policy determines which interface a Job can call. Use compatible units for measurements and references, stop if dimensions are incompatible, and keep large integers in buffers with their original dtype.

Operation reference

Jump to an operation

Restricted interfaces and facades

  • gxtxt_numeric_v1::faithful_sum::finish

    Policy
    HOST_ONLY
    Facade
    —
    Condition
    gxtxt_numeric_v1::faithful_sum::finish reads the same caller-owned faithful_sum private partial expansion and applies the native half-even rounding correction. Its scalar result is transportable, but the exact receiver object has no public serialized state contract; arbitrary addresses or reconstructed undocumented private fields must not become Bridge receivers. Numeric typed moments retain the object locally through push/finalization.
  • gxtxt_numeric_v1::faithful_sum::push

    Policy
    HOST_ONLY
    Facade
    —
    Condition
    gxtxt_numeric_v1::faithful_sum::push mutates the caller-owned C++ faithful_sum object, whose private array of 64 error-free binary64 partials and private size carry the sequence between calls. The class exports push/finish but no state import/export representation. A Script Bridge dictionary or pointer address cannot serve as this C++ object; the existing Numeric owner creates and uses it internally for faithful moments.
  • gxtxt_numeric_v1::float_moments

    Policy
    TYPED_OWNER_FACADE
    Facade
    statistics_summary
    Condition
    The existing statistics_summary route passes dense float32/float64 values to gxtxt_numeric_faithful_native, which calls this exact float_moments primitive and returns finite_count/mean/population_stddev. Summary adds classification metadata but preserves these native facts and domain/count checks. Native template instantiation and output pointer storage remain inside Numeric; no new mathematics or caller-state transport is required.
  • gx_numeric_residual_finish_v1

    Policy
    HOST_ONLY
    Facade
    —
    Condition
    gx_numeric_residual_finish_v1 reads an existing caller-owned residual accumulator and rounds its long-double scaled sums into final mean-absolute and RMS binary64 facts. The returned facts are script-safe, but this exact method consumes native accumulator state whose long-double representation is absent from the Bridge; the Numeric owner must retain that state until finalization.
  • gx_numeric_residual_init_v1

    Policy
    HOST_ONLY
    Facade
    —
    Condition
    gx_numeric_residual_init_v1 zeros a caller-owned gx_numeric_residual_accumulator_v1, including its long-double scaled absolute and square sums. This method creates native accumulator state, not a portable scientific result. The shared Bridge transports binary32/binary64 and integer values but has no canonical long-double accumulator state codec; serializing the C layout or rounding its sums would change the subsequent accumulation contract.
  • gx_numeric_residual_merge_v1

    Policy
    HOST_ONLY
    Facade
    —
    Condition
    gx_numeric_residual_merge_v1 concatenates two native residual accumulators into a caller-owned output, preserving long-double partial sums and translating the second maximum index by the first count. The shared Bridge has no canonical exact codec for these accumulator states; a binary64 struct/dictionary is not an equivalent state. Existing statistics_summary is a complete vector summary and is not an alias for this incremental merge.
  • gx_numeric_residual_push_v1

    Policy
    HOST_ONLY
    Facade
    —
    Condition
    gx_numeric_residual_push_v1 updates a caller-owned scaled residual accumulator in place after checking native state invariants and finite input. Its two partial sums are long double and must survive successive calls without binary64 rounding; passing a raw struct address or a rounded script state would break that contract. Typed scientific summary calls keep this state wholly inside the Numeric native owner.
  • gx_numeric_residual_valid_v1

    Policy
    HOST_ONLY
    Facade
    —
    Condition
    gx_numeric_residual_valid_v1 checks the caller-owned accumulator invariants, including native long-double sums, finite nonnegative scale and count/max-index consistency. It is meaningful for an accumulator produced in that same native contract; the Bridge has no representation preserving those long-double fields, so validating a rounded script dictionary would establish different state invariants.
  • ::GX::NumericAPIv1::supports

    Policy
    REGISTERED_TYPED_ADAPTER
    Facade
    supports
    Condition
    Exact original Tcl owner call, source formals/defaults/capability/units and typed result preserved. No executable callback, arbitrary caller path, host-wide lifetime or scientific algorithm is added by this adapter.
  • ::GX::NumericAPIv1::expressionDataset

    Policy
    REGISTERED_TYPED_ADAPTER
    Facade
    expressionDataset
    Condition
    Exact original Tcl owner call, source formals/defaults/capability/units and typed result preserved. No executable callback, arbitrary caller path, host-wide lifetime or scientific algorithm is added by this adapter.
  • ::GX::NumericAPIv1::expressionDatasetCaptured

    Policy
    REGISTERED_TYPED_ADAPTER
    Facade
    expressionDatasetCaptured
    Condition
    Exact original Tcl owner call, source formals/defaults/capability/units and typed result preserved. No executable callback, arbitrary caller path, host-wide lifetime or scientific algorithm is added by this adapter.
  • ::GX::NumericAPIv1::callOperationCaptured

    Policy
    REGISTERED_TYPED_ADAPTER
    Facade
    callOperationCaptured
    Condition
    Exact original Tcl owner call, source formals/defaults/capability/units and typed result preserved. No executable callback, arbitrary caller path, host-wide lifetime or scientific algorithm is added by this adapter.
  • ::GX::NumericAPIv1::interpolateDatasetCaptured

    Policy
    REGISTERED_TYPED_ADAPTER
    Facade
    interpolateDatasetCaptured
    Condition
    Exact original Tcl owner call, source formals/defaults/capability/units and typed result preserved. No executable callback, arbitrary caller path, host-wide lifetime or scientific algorithm is added by this adapter.
  • ::GX::NumericAPIv1::complexDatasetCaptured

    Policy
    REGISTERED_TYPED_ADAPTER
    Facade
    complexDatasetCaptured
    Condition
    Exact original Tcl owner call, source formals/defaults/capability/units and typed result preserved. No executable callback, arbitrary caller path, host-wide lifetime or scientific algorithm is added by this adapter.
  • ::GX::NumericAPIv1::modelKinds

    Policy
    REGISTERED_TYPED_ADAPTER
    Facade
    modelKinds
    Condition
    Exact original Tcl owner call, source formals/defaults/capability/units and typed result preserved. No executable callback, arbitrary caller path, host-wide lifetime or scientific algorithm is added by this adapter.
  • ::GX::NumericAPIv1::callModelOperation

    Policy
    REGISTERED_TYPED_ADAPTER
    Facade
    callModelOperation
    Condition
    Exact original Tcl owner call, source formals/defaults/capability/units and typed result preserved. Source only constructs fixed modelKinds; _typedDatasetOptions consumes Session/selection context for Dataset branch. Safe fixed declarations remain supported.
  • ::GX::NumericAPIv1::resultTypes

    Policy
    REGISTERED_TYPED_ADAPTER
    Facade
    resultTypes
    Condition
    Exact original Tcl owner call, source formals/defaults/capability/units and typed result preserved. No executable callback, arbitrary caller path, host-wide lifetime or scientific algorithm is added by this adapter.
  • ::GX::NumericAPIv1::arrayUnary

    Policy
    REGISTERED_TYPED_ADAPTER
    Facade
    arrayUnary
    Condition
    Exact original Tcl owner call, source formals/defaults/capability/units and typed result preserved. No executable callback, arbitrary caller path, host-wide lifetime or scientific algorithm is added by this adapter.
  • ::GX::NumericAPIv1::arrayBinary

    Policy
    REGISTERED_TYPED_ADAPTER
    Facade
    arrayBinary
    Condition
    Exact original Tcl owner call, source formals/defaults/capability/units and typed result preserved. No executable callback, arbitrary caller path, host-wide lifetime or scientific algorithm is added by this adapter.
  • ::GX::NumericAPIv1::arrayCompare

    Policy
    REGISTERED_TYPED_ADAPTER
    Facade
    arrayCompare
    Condition
    Exact original Tcl owner call, source formals/defaults/capability/units and typed result preserved. No executable callback, arbitrary caller path, host-wide lifetime or scientific algorithm is added by this adapter.
  • ::GX::NumericAPIv1::arrayMask

    Policy
    REGISTERED_TYPED_ADAPTER
    Facade
    arrayMask
    Condition
    Exact original Tcl owner call, source formals/defaults/capability/units and typed result preserved. No executable callback, arbitrary caller path, host-wide lifetime or scientific algorithm is added by this adapter.
  • ::GX::NumericAPIv1::arraySelect

    Policy
    REGISTERED_TYPED_ADAPTER
    Facade
    arraySelect
    Condition
    Exact original Tcl owner call, source formals/defaults/capability/units and typed result preserved. No executable callback, arbitrary caller path, host-wide lifetime or scientific algorithm is added by this adapter.
  • ::GX::NumericAPIv1::arrayWhere

    Policy
    REGISTERED_TYPED_ADAPTER
    Facade
    arrayWhere
    Condition
    Exact original Tcl owner call, source formals/defaults/capability/units and typed result preserved. No executable callback, arbitrary caller path, host-wide lifetime or scientific algorithm is added by this adapter.
  • ::GX::NumericAPIv1::arrayReduce

    Policy
    REGISTERED_TYPED_ADAPTER
    Facade
    arrayReduce
    Condition
    Exact original Tcl owner call, source formals/defaults/capability/units and typed result preserved. No executable callback, arbitrary caller path, host-wide lifetime or scientific algorithm is added by this adapter.
  • ::GX::NumericAPIv1::complexUnary

    Policy
    REGISTERED_TYPED_ADAPTER
    Facade
    complexUnary
    Condition
    Exact original Tcl owner call, source formals/defaults/capability/units and typed result preserved. No executable callback, arbitrary caller path, host-wide lifetime or scientific algorithm is added by this adapter.
  • ::GX::NumericAPIv1::complexBinary

    Policy
    REGISTERED_TYPED_ADAPTER
    Facade
    complexBinary
    Condition
    Exact original Tcl owner call, source formals/defaults/capability/units and typed result preserved. No executable callback, arbitrary caller path, host-wide lifetime or scientific algorithm is added by this adapter.
  • ::GX::NumericAPIv1::unwrap

    Policy
    REGISTERED_TYPED_ADAPTER
    Facade
    unwrap
    Condition
    Exact original Tcl owner call, source formals/defaults/capability/units and typed result preserved. No executable callback, arbitrary caller path, host-wide lifetime or scientific algorithm is added by this adapter.
  • ::GX::NumericAPIv1::comparisonCurves

    Policy
    REGISTERED_TYPED_ADAPTER
    Facade
    comparisonCurves
    Condition
    Exact original Tcl owner call, source formals/defaults/capability/units and typed result preserved. No executable callback, arbitrary caller path, host-wide lifetime or scientific algorithm is added by this adapter.
  • ::GX::NumericAPIv1::resample

    Policy
    REGISTERED_TYPED_ADAPTER
    Facade
    resample
    Condition
    Exact original Tcl owner call, source formals/defaults/capability/units and typed result preserved. No executable callback, arbitrary caller path, host-wide lifetime or scientific algorithm is added by this adapter.
  • ::GX::NumericAPIv1::resampleUniform

    Policy
    REGISTERED_TYPED_ADAPTER
    Facade
    resampleUniform
    Condition
    Exact original Tcl owner call, source formals/defaults/capability/units and typed result preserved. No executable callback, arbitrary caller path, host-wide lifetime or scientific algorithm is added by this adapter.
  • ::GX::NumericAPIv1::splineCreate

    Policy
    REGISTERED_TYPED_ADAPTER
    Facade
    splineCreate
    Condition
    Exact original Tcl owner call, source formals/defaults/capability/units and typed result preserved. No executable callback, arbitrary caller path, host-wide lifetime or scientific algorithm is added by this adapter.
  • ::GX::NumericAPIv1::splineEvaluate

    Policy
    REGISTERED_TYPED_ADAPTER
    Facade
    splineEvaluate
    Condition
    Exact original Tcl owner call, source formals/defaults/capability/units and typed result preserved. No executable callback, arbitrary caller path, host-wide lifetime or scientific algorithm is added by this adapter.
  • ::GX::NumericAPIv1::splineIntegral

    Policy
    REGISTERED_TYPED_ADAPTER
    Facade
    splineIntegral
    Condition
    Exact original Tcl owner call, source formals/defaults/capability/units and typed result preserved. No executable callback, arbitrary caller path, host-wide lifetime or scientific algorithm is added by this adapter.
  • ::GX::NumericAPIv1::integrate

    Policy
    REGISTERED_TYPED_ADAPTER
    Facade
    integrate
    Condition
    Exact original Tcl owner call, source formals/defaults/capability/units and typed result preserved. No executable callback, arbitrary caller path, host-wide lifetime or scientific algorithm is added by this adapter.
  • ::GX::NumericAPIv1::cumulativeIntegrate

    Policy
    REGISTERED_TYPED_ADAPTER
    Facade
    cumulativeIntegrate
    Condition
    Exact original Tcl owner call, source formals/defaults/capability/units and typed result preserved. No executable callback, arbitrary caller path, host-wide lifetime or scientific algorithm is added by this adapter.
  • ::GX::NumericAPIv1::differentiate

    Policy
    REGISTERED_TYPED_ADAPTER
    Facade
    differentiate
    Condition
    Exact original Tcl owner call, source formals/defaults/capability/units and typed result preserved. No executable callback, arbitrary caller path, host-wide lifetime or scientific algorithm is added by this adapter.
  • ::GX::NumericAPIv1::gridInfo

    Policy
    REGISTERED_TYPED_ADAPTER
    Facade
    gridInfo
    Condition
    Exact original Tcl owner call, source formals/defaults/capability/units and typed result preserved. No executable callback, arbitrary caller path, host-wide lifetime or scientific algorithm is added by this adapter.
  • ::GX::NumericAPIv1::validateMonotonic

    Policy
    REGISTERED_TYPED_ADAPTER
    Facade
    validateMonotonic
    Condition
    Exact original Tcl owner call, source formals/defaults/capability/units and typed result preserved. No executable callback, arbitrary caller path, host-wide lifetime or scientific algorithm is added by this adapter.
  • ::GX::NumericAPIv1::uniformGrid

    Policy
    REGISTERED_TYPED_ADAPTER
    Facade
    uniformGrid
    Condition
    Exact original Tcl owner call, source formals/defaults/capability/units and typed result preserved. No executable callback, arbitrary caller path, host-wide lifetime or scientific algorithm is added by this adapter.
  • ::GX::NumericAPIv1::commonRange

    Policy
    REGISTERED_TYPED_ADAPTER
    Facade
    commonRange
    Condition
    Exact original Tcl owner call, source formals/defaults/capability/units and typed result preserved. No executable callback, arbitrary caller path, host-wide lifetime or scientific algorithm is added by this adapter.
  • ::GX::NumericAPIv1::statisticsSummary

    Policy
    REGISTERED_TYPED_ADAPTER
    Facade
    statisticsSummary
    Condition
    Exact original Tcl owner call, source formals/defaults/capability/units and typed result preserved. No executable callback, arbitrary caller path, host-wide lifetime or scientific algorithm is added by this adapter.
  • ::GX::NumericAPIv1::histogramSummary

    Policy
    REGISTERED_TYPED_ADAPTER
    Facade
    histogramSummary
    Condition
    Exact original Tcl owner call, source formals/defaults/capability/units and typed result preserved. No executable callback, arbitrary caller path, host-wide lifetime or scientific algorithm is added by this adapter.
  • ::GX::NumericAPIv1::statisticsResponsive

    Policy
    REGISTERED_TYPED_ADAPTER
    Facade
    statisticsResponsive
    Condition
    Original values/options computation through actual CORE parallelExecutionExecute/release; omitted or literal empty progress admitted. Nonempty executable Tcl progress prefixes, CallbackRef and numeric/array progress values are rejected before scheduling; no process/callback engine is added.
  • ::GX::NumericAPIv1::rank

    Policy
    REGISTERED_TYPED_ADAPTER
    Facade
    rank
    Condition
    Exact original Tcl owner call, source formals/defaults/capability/units and typed result preserved. No executable callback, arbitrary caller path, host-wide lifetime or scientific algorithm is added by this adapter.
  • ::GX::NumericAPIv1::covariance

    Policy
    REGISTERED_TYPED_ADAPTER
    Facade
    covariance
    Condition
    Exact original Tcl owner call, source formals/defaults/capability/units and typed result preserved. No executable callback, arbitrary caller path, host-wide lifetime or scientific algorithm is added by this adapter.
  • ::GX::NumericAPIv1::correlation

    Policy
    REGISTERED_TYPED_ADAPTER
    Facade
    correlation
    Condition
    Exact original Tcl owner call, source formals/defaults/capability/units and typed result preserved. No executable callback, arbitrary caller path, host-wide lifetime or scientific algorithm is added by this adapter.
  • ::GX::NumericAPIv1::ecdf

    Policy
    REGISTERED_TYPED_ADAPTER
    Facade
    ecdf
    Condition
    Exact original Tcl owner call, source formals/defaults/capability/units and typed result preserved. No executable callback, arbitrary caller path, host-wide lifetime or scientific algorithm is added by this adapter.
  • ::GX::NumericAPIv1::normalCdf

    Policy
    REGISTERED_TYPED_ADAPTER
    Facade
    normalCdf
    Condition
    Exact original Tcl owner call, source formals/defaults/capability/units and typed result preserved. No executable callback, arbitrary caller path, host-wide lifetime or scientific algorithm is added by this adapter.
  • ::GX::NumericAPIv1::studentTCdf

    Policy
    REGISTERED_TYPED_ADAPTER
    Facade
    studentTCdf
    Condition
    Exact original Tcl owner call, source formals/defaults/capability/units and typed result preserved. No executable callback, arbitrary caller path, host-wide lifetime or scientific algorithm is added by this adapter.
  • ::GX::NumericAPIv1::fCdf

    Policy
    REGISTERED_TYPED_ADAPTER
    Facade
    fCdf
    Condition
    Exact original Tcl owner call, source formals/defaults/capability/units and typed result preserved. No executable callback, arbitrary caller path, host-wide lifetime or scientific algorithm is added by this adapter.
  • ::GX::NumericAPIv1::matrixSvd

    Policy
    REGISTERED_TYPED_ADAPTER
    Facade
    matrixSvd
    Condition
    Exact original Tcl owner call, source formals/defaults/capability/units and typed result preserved. No executable callback, arbitrary caller path, host-wide lifetime or scientific algorithm is added by this adapter.
  • ::GX::NumericAPIv1::linearMatrix

    Policy
    REGISTERED_TYPED_ADAPTER
    Facade
    linearMatrix
    Condition
    Exact original Tcl owner call, source formals/defaults/capability/units and typed result preserved. No executable callback, arbitrary caller path, host-wide lifetime or scientific algorithm is added by this adapter.
  • ::GX::NumericAPIv1::foundationCaptured

    Policy
    REGISTERED_TYPED_ADAPTER
    Facade
    foundationCaptured
    Condition
    Exact original Tcl owner call, source formals/defaults/capability/units and typed result preserved. No executable callback, arbitrary caller path, host-wide lifetime or scientific algorithm is added by this adapter.
  • ::GX::NumericAPIv1::resampleIndices

    Policy
    REGISTERED_TYPED_ADAPTER
    Facade
    resampleIndices
    Condition
    Exact original Tcl owner call, source formals/defaults/capability/units and typed result preserved. No executable callback, arbitrary caller path, host-wide lifetime or scientific algorithm is added by this adapter.
  • ::GX::NumericAPIv1::residualMetrics

    Policy
    REGISTERED_TYPED_ADAPTER
    Facade
    residualMetrics
    Condition
    Exact original Tcl owner call, source formals/defaults/capability/units and typed result preserved. No executable callback, arbitrary caller path, host-wide lifetime or scientific algorithm is added by this adapter.
  • ::GX::NumericAPIv1::weightedQuantiles

    Policy
    REGISTERED_TYPED_ADAPTER
    Facade
    weightedQuantiles
    Condition
    Exact original Tcl owner call, source formals/defaults/capability/units and typed result preserved. No executable callback, arbitrary caller path, host-wide lifetime or scientific algorithm is added by this adapter.
  • ::GX::NumericAPIv1::cumulativeSum

    Policy
    REGISTERED_TYPED_ADAPTER
    Facade
    cumulativeSum
    Condition
    Exact original Tcl owner call, source formals/defaults/capability/units and typed result preserved. No executable callback, arbitrary caller path, host-wide lifetime or scientific algorithm is added by this adapter.
  • ::GX::NumericAPIv1::normalizeVector

    Policy
    REGISTERED_TYPED_ADAPTER
    Facade
    normalizeVector
    Condition
    Exact original Tcl owner call, source formals/defaults/capability/units and typed result preserved. No executable callback, arbitrary caller path, host-wide lifetime or scientific algorithm is added by this adapter.
  • ::GX::NumericAPIv1::vectorSimilarity

    Policy
    REGISTERED_TYPED_ADAPTER
    Facade
    vectorSimilarity
    Condition
    Exact original Tcl owner call, source formals/defaults/capability/units and typed result preserved. No executable callback, arbitrary caller path, host-wide lifetime or scientific algorithm is added by this adapter.
  • ::GX::NumericAPIv1::weightedStatistics

    Policy
    REGISTERED_TYPED_ADAPTER
    Facade
    weightedStatistics
    Condition
    Exact original Tcl owner call, source formals/defaults/capability/units and typed result preserved. No executable callback, arbitrary caller path, host-wide lifetime or scientific algorithm is added by this adapter.
  • ::GX::NumericAPIv1::leastSquares

    Policy
    REGISTERED_TYPED_ADAPTER
    Facade
    leastSquares
    Condition
    Exact original Tcl owner call, source formals/defaults/capability/units and typed result preserved. No executable callback, arbitrary caller path, host-wide lifetime or scientific algorithm is added by this adapter.
  • ::GX::NumericAPIv1::fitInformationCriteria

    Policy
    REGISTERED_TYPED_ADAPTER
    Facade
    fitInformationCriteria
    Condition
    Exact original Tcl owner call, source formals/defaults/capability/units and typed result preserved. No executable callback, arbitrary caller path, host-wide lifetime or scientific algorithm is added by this adapter.
  • ::GX::NumericAPIv1::nestedFTest

    Policy
    REGISTERED_TYPED_ADAPTER
    Facade
    nestedFTest
    Condition
    Exact original Tcl owner call, source formals/defaults/capability/units and typed result preserved. No executable callback, arbitrary caller path, host-wide lifetime or scientific algorithm is added by this adapter.
  • ::GX::NumericAPIv1::parameterUncertainty

    Policy
    REGISTERED_TYPED_ADAPTER
    Facade
    parameterUncertainty
    Condition
    Exact original Tcl owner call, source formals/defaults/capability/units and typed result preserved. No executable callback, arbitrary caller path, host-wide lifetime or scientific algorithm is added by this adapter.
  • ::GX::NumericAPIv1::derivedProperties

    Policy
    REGISTERED_TYPED_ADAPTER
    Facade
    derivedProperties
    Condition
    Exact original Tcl owner call, source formals/defaults/capability/units and typed result preserved. No executable callback, arbitrary caller path, host-wide lifetime or scientific algorithm is added by this adapter.
  • ::GX::NumericAPIv1::fitBootstrap

    Policy
    REGISTERED_TYPED_ADAPTER
    Facade
    fitBootstrap
    Condition
    Exact original Tcl owner call, source formals/defaults/capability/units and typed result preserved. No executable callback, arbitrary caller path, host-wide lifetime or scientific algorithm is added by this adapter.
  • ::GX::NumericAPIv1::fitProfile

    Policy
    REGISTERED_TYPED_ADAPTER
    Facade
    fitProfile
    Condition
    Exact original Tcl owner call, source formals/defaults/capability/units and typed result preserved. No executable callback, arbitrary caller path, host-wide lifetime or scientific algorithm is added by this adapter.
  • ::GX::NumericAPIv1::predictionUncertainty

    Policy
    REGISTERED_TYPED_ADAPTER
    Facade
    predictionUncertainty
    Condition
    Exact original Tcl owner call, source formals/defaults/capability/units and typed result preserved. No executable callback, arbitrary caller path, host-wide lifetime or scientific algorithm is added by this adapter.
  • ::GX::NumericAPIv1::linearRegression

    Policy
    REGISTERED_TYPED_ADAPTER
    Facade
    linearRegression
    Condition
    Exact original Tcl owner call, source formals/defaults/capability/units and typed result preserved. No executable callback, arbitrary caller path, host-wide lifetime or scientific algorithm is added by this adapter.
  • ::GX::NumericAPIv1::polynomialFit

    Policy
    REGISTERED_TYPED_ADAPTER
    Facade
    polynomialFit
    Condition
    Exact original Tcl owner call, source formals/defaults/capability/units and typed result preserved. No executable callback, arbitrary caller path, host-wide lifetime or scientific algorithm is added by this adapter.
  • ::GX::NumericAPIv1::polynomialEvaluate

    Policy
    REGISTERED_TYPED_ADAPTER
    Facade
    polynomialEvaluate
    Condition
    Exact original Tcl owner call, source formals/defaults/capability/units and typed result preserved. No executable callback, arbitrary caller path, host-wide lifetime or scientific algorithm is added by this adapter.
  • ::GX::NumericAPIv1::digitalFilter

    Policy
    REGISTERED_TYPED_ADAPTER
    Facade
    digitalFilter
    Condition
    Exact original Tcl owner call, source formals/defaults/capability/units and typed result preserved. No executable callback, arbitrary caller path, host-wide lifetime or scientific algorithm is added by this adapter.
  • ::GX::NumericAPIv1::findPeaks

    Policy
    REGISTERED_TYPED_ADAPTER
    Facade
    findPeaks
    Condition
    Exact original Tcl owner call, source formals/defaults/capability/units and typed result preserved. No executable callback, arbitrary caller path, host-wide lifetime or scientific algorithm is added by this adapter.
  • ::GX::NumericAPIv1::baselineAnchored

    Policy
    REGISTERED_TYPED_ADAPTER
    Facade
    baselineAnchored
    Condition
    Exact original Tcl owner call, source formals/defaults/capability/units and typed result preserved. No executable callback, arbitrary caller path, host-wide lifetime or scientific algorithm is added by this adapter.
  • ::GX::NumericAPIv1::propagateIndependentUncertainty

    Policy
    REGISTERED_TYPED_ADAPTER
    Facade
    propagateIndependentUncertainty
    Condition
    Exact original Tcl owner call, source formals/defaults/capability/units and typed result preserved. No executable callback, arbitrary caller path, host-wide lifetime or scientific algorithm is added by this adapter.
  • ::GX::NumericAPIv1::propagateCovariance

    Policy
    REGISTERED_TYPED_ADAPTER
    Facade
    propagateCovariance
    Condition
    Exact original Tcl owner call, source formals/defaults/capability/units and typed result preserved. No executable callback, arbitrary caller path, host-wide lifetime or scientific algorithm is added by this adapter.
  • ::GX::NumericAPIv1::fft

    Policy
    REGISTERED_TYPED_ADAPTER
    Facade
    fft
    Condition
    Exact original Tcl owner call, source formals/defaults/capability/units and typed result preserved. No executable callback, arbitrary caller path, host-wide lifetime or scientific algorithm is added by this adapter.
  • ::GX::NumericAPIv1::ifft

    Policy
    REGISTERED_TYPED_ADAPTER
    Facade
    ifft
    Condition
    Exact original Tcl owner call, source formals/defaults/capability/units and typed result preserved. No executable callback, arbitrary caller path, host-wide lifetime or scientific algorithm is added by this adapter.
  • ::GX::NumericAPIv1::analyticSignal

    Policy
    REGISTERED_TYPED_ADAPTER
    Facade
    analyticSignal
    Condition
    Exact original Tcl owner call, source formals/defaults/capability/units and typed result preserved. No executable callback, arbitrary caller path, host-wide lifetime or scientific algorithm is added by this adapter.
  • ::GX::NumericAPIv1::frequencyGrid

    Policy
    REGISTERED_TYPED_ADAPTER
    Facade
    frequencyGrid
    Condition
    Exact original Tcl owner call, source formals/defaults/capability/units and typed result preserved. No executable callback, arbitrary caller path, host-wide lifetime or scientific algorithm is added by this adapter.
  • ::GX::NumericAPIv1::oneSided

    Policy
    REGISTERED_TYPED_ADAPTER
    Facade
    oneSided
    Condition
    Exact original Tcl owner call, source formals/defaults/capability/units and typed result preserved. No executable callback, arbitrary caller path, host-wide lifetime or scientific algorithm is added by this adapter.
  • ::GX::NumericAPIv1::detrend

    Policy
    REGISTERED_TYPED_ADAPTER
    Facade
    detrend
    Condition
    Exact original Tcl owner call, source formals/defaults/capability/units and typed result preserved. No executable callback, arbitrary caller path, host-wide lifetime or scientific algorithm is added by this adapter.
  • ::GX::NumericAPIv1::window

    Policy
    REGISTERED_TYPED_ADAPTER
    Facade
    window
    Condition
    Exact original Tcl owner call, source formals/defaults/capability/units and typed result preserved. No executable callback, arbitrary caller path, host-wide lifetime or scientific algorithm is added by this adapter.
  • ::GX::NumericAPIv1::integrateDataset

    Policy
    REGISTERED_TYPED_ADAPTER
    Facade
    integrateDataset
    Condition
    Exact original Tcl owner call, source formals/defaults/capability/units and typed result preserved. _datasetData normalizes caller session and _selectionForDataset resolves metadata from that path; bridge must bind to CORE current Session, not add foreign filesystem authority.
  • ::GX::NumericAPIv1::cumulativeIntegrateDataset

    Policy
    REGISTERED_TYPED_ADAPTER
    Facade
    cumulativeIntegrateDataset
    Condition
    Exact original Tcl owner call, source formals/defaults/capability/units and typed result preserved. _datasetData normalizes caller session and _selectionForDataset resolves metadata from that path; bridge must bind to CORE current Session, not add foreign filesystem authority.
  • ::GX::NumericAPIv1::differentiateDataset

    Policy
    REGISTERED_TYPED_ADAPTER
    Facade
    differentiateDataset
    Condition
    Exact original Tcl owner call, source formals/defaults/capability/units and typed result preserved. _datasetData normalizes caller session and _selectionForDataset resolves metadata from that path; bridge must bind to CORE current Session, not add foreign filesystem authority.
  • ::GX::NumericAPIv1::interpolateDataset

    Policy
    REGISTERED_TYPED_ADAPTER
    Facade
    interpolateDataset
    Condition
    Exact original Tcl owner call, source formals/defaults/capability/units and typed result preserved. _datasetData normalizes caller session and _selectionForDataset resolves metadata from that path; bridge must bind to CORE current Session, not add foreign filesystem authority.
  • ::GX::NumericAPIv1::resampleUniformDataset

    Policy
    REGISTERED_TYPED_ADAPTER
    Facade
    resampleUniformDataset
    Condition
    Exact original Tcl owner call, source formals/defaults/capability/units and typed result preserved. _datasetData normalizes caller session and _selectionForDataset resolves metadata from that path; bridge must bind to CORE current Session, not add foreign filesystem authority.
  • ::GX::NumericAPIv1::resampleDataset

    Policy
    REGISTERED_TYPED_ADAPTER
    Facade
    resampleDataset
    Condition
    Exact original Tcl owner call, source formals/defaults/capability/units and typed result preserved. _datasetData normalizes caller session and _selectionForDataset resolves metadata from that path; bridge must bind to CORE current Session, not add foreign filesystem authority.
  • ::GX::NumericAPIv1::resampleExplicitDataset

    Policy
    REGISTERED_TYPED_ADAPTER
    Facade
    resampleExplicitDataset
    Condition
    Exact original Tcl owner call, source formals/defaults/capability/units and typed result preserved. _datasetData normalizes caller session and _selectionForDataset resolves metadata from that path; bridge must bind to CORE current Session, not add foreign filesystem authority.
  • ::GX::NumericAPIv1::statisticsDataset

    Policy
    REGISTERED_TYPED_ADAPTER
    Facade
    statisticsDataset
    Condition
    Exact original Tcl owner call, source formals/defaults/capability/units and typed result preserved. _datasetData normalizes caller session and _selectionForDataset resolves metadata from that path; bridge must bind to CORE current Session, not add foreign filesystem authority.
  • ::GX::NumericAPIv1::reduceSummaryDataset

    Policy
    REGISTERED_TYPED_ADAPTER
    Facade
    reduceSummaryDataset
    Condition
    Exact original Tcl owner call, source formals/defaults/capability/units and typed result preserved. _datasetData normalizes caller session and _selectionForDataset resolves metadata from that path; bridge must bind to CORE current Session, not add foreign filesystem authority.
  • ::GX::NumericAPIv1::weightedStatisticsDataset

    Policy
    REGISTERED_TYPED_ADAPTER
    Facade
    weightedStatisticsDataset
    Condition
    Exact original Tcl owner call, source formals/defaults/capability/units and typed result preserved. _datasetData normalizes caller session and _selectionForDataset resolves metadata from that path; bridge must bind to CORE current Session, not add foreign filesystem authority.
  • ::GX::NumericAPIv1::gridInfoDataset

    Policy
    REGISTERED_TYPED_ADAPTER
    Facade
    gridInfoDataset
    Condition
    Exact original Tcl owner call, source formals/defaults/capability/units and typed result preserved. _datasetData normalizes caller session and _selectionForDataset resolves metadata from that path; bridge must bind to CORE current Session, not add foreign filesystem authority.
  • ::GX::NumericAPIv1::polynomialFitDataset

    Policy
    REGISTERED_TYPED_ADAPTER
    Facade
    polynomialFitDataset
    Condition
    Exact original Tcl owner call, source formals/defaults/capability/units and typed result preserved. _datasetData normalizes caller session and _selectionForDataset resolves metadata from that path; bridge must bind to CORE current Session, not add foreign filesystem authority.
  • ::GX::NumericAPIv1::smoothDataset

    Policy
    REGISTERED_TYPED_ADAPTER
    Facade
    smoothDataset
    Condition
    Exact original Tcl owner call, source formals/defaults/capability/units and typed result preserved. _datasetData normalizes caller session and _selectionForDataset resolves metadata from that path; bridge must bind to CORE current Session, not add foreign filesystem authority.
  • ::GX::NumericAPIv1::findPeaksDataset

    Policy
    REGISTERED_TYPED_ADAPTER
    Facade
    findPeaksDataset
    Condition
    Exact original Tcl owner call, source formals/defaults/capability/units and typed result preserved. _datasetData normalizes caller session and _selectionForDataset resolves metadata from that path; bridge must bind to CORE current Session, not add foreign filesystem authority.
  • ::GX::NumericAPIv1::baselineDataset

    Policy
    REGISTERED_TYPED_ADAPTER
    Facade
    baselineDataset
    Condition
    Exact original Tcl owner call, source formals/defaults/capability/units and typed result preserved. _datasetData normalizes caller session and _selectionForDataset resolves metadata from that path; bridge must bind to CORE current Session, not add foreign filesystem authority.
  • ::GX::NumericAPIv1::arrayUnaryDataset

    Policy
    REGISTERED_TYPED_ADAPTER
    Facade
    arrayUnaryDataset
    Condition
    Exact original Tcl owner call, source formals/defaults/capability/units and typed result preserved. _datasetData normalizes caller session and _selectionForDataset resolves metadata from that path; bridge must bind to CORE current Session, not add foreign filesystem authority.
  • ::GX::NumericAPIv1::arrayBinaryDataset

    Policy
    REGISTERED_TYPED_ADAPTER
    Facade
    arrayBinaryDataset
    Condition
    Exact original Tcl owner call, source formals/defaults/capability/units and typed result preserved. _datasetData normalizes caller session and _selectionForDataset resolves metadata from that path; bridge must bind to CORE current Session, not add foreign filesystem authority.
  • ::GX::NumericAPIv1::arrayScalarDataset

    Policy
    REGISTERED_TYPED_ADAPTER
    Facade
    arrayScalarDataset
    Condition
    Exact original Tcl owner call, source formals/defaults/capability/units and typed result preserved. _datasetData normalizes caller session and _selectionForDataset resolves metadata from that path; bridge must bind to CORE current Session, not add foreign filesystem authority.
  • ::GX::NumericAPIv1::capabilities

    Policy
    REGISTERED_TYPED_ADAPTER
    Facade
    capabilities
    Condition
    Actual owner returns only descriptor capability names; exact list is safe discovery. Use original owner, not generic describe alias.
  • ::GX::NumericAPIv1::requireCapability

    Policy
    REGISTERED_TYPED_ADAPTER
    Facade
    requireCapability
    Condition
    Actual owner applies supports to a supplied capability string and returns 1 or its canonical error; safe explicit precondition with no callback/path authority.
  • ::GX::NumericAPIv1::octaveApiDir

    Policy
    REGISTERED_TYPED_ADAPTER
    Facade
    octaveApiDir
    Condition
    Exact zero-argument fixed-owner descriptor directory getter returns unchanged installation-discovery text; no caller path input, filesystem action or process authority.
  • ::GX::NumericAPIv1::octaveFunction

    Policy
    REGISTERED_TYPED_ADAPTER
    Facade
    octaveFunction
    Condition
    Actual owner returns fixed descriptor octave_function text, not caller code or a path. Preserve exact function-name discovery without launch/evaluation.
  • ::GX::NumericAPIv1::octaveAvailable

    Policy
    REGISTERED_TYPED_ADAPTER
    Facade
    octaveAvailable
    Condition
    Actual owner returns executable availability boolean. No command path/process handle leaves owner. Expose exact bool and retain configuration lookup in original helper.

listOperations

Access
Registered in the Python Job
Arguments
no arguments
Units
Original record unit_behavior is preserved; metadata performs no numerical computation
Result
Original NUMERIC_API_v1 metadata; no field omission or fabricated defaults
Function
List every original Numeric operation catalog ID
gxtxt_api_call("NUMERIC_API_v1", "listOperations", args)
Recorded result · listOperations

Download the example script (ZIP).

Example operands, preview

[]

Result, preview

[
  "analytic_signal",
  "array_binary.add",
  "array_binary.atan2",
  "array_binary.divide",
  "array_binary.hypot",
  "array_binary.maximum",
  "array_binary.minimum",
  "array_binary.multiply",
  "array_binary.power",
  "array_binary.subtract",
  "array_compare.equal",
  "array_compare.greater_equal"
]

operationMetadata

Access
Registered in the Python Job
Arguments
id
Units
Original record unit_behavior is preserved; metadata performs no numerical computation
Result
Original NUMERIC_API_v1 metadata; no field omission or fabricated defaults
Function
Read the complete original Numeric operation record
gxtxt_api_call("NUMERIC_API_v1", "operationMetadata", args)
Recorded result · operationMetadata:array_binary.add

Download the example script (ZIP).

Example operands, preview

[
  "array_binary.add"
]

Result, preview

{
  "id": "array_binary.add",
  "expression_name": "add",
  "category": "elementwise",
  "bindings": [
    "tcl",
    "octave"
  ],
  "arity_min": 2,
  "arity_max": 2,
  "arguments": [
    "left",
    "right"
  ],
  "accepted_kinds": [
    "scalar",
    "vector",
    "matrix"
  ],
  "shape_semantics": "equal_shape_or_scalar",
  "broadcast_semantics": "scalar_expansion",
  "options": {
    "nonfinite": [
      "error",
      "ieee"
    ]
  },
  "result_kind": "numeric",
  "result_shape": "common_shape",
  "nonfinite_policies": [
    "error",
    "ieee"
  ],
  "unit_behavior": "compatible",
  "summary": "Combine equal-dimension real arrays",
  "capability": "elementwise_binary",
  "flags": [
    "expression"
  ]
}

operationByExpressionName

Access
Registered in the Python Job
Arguments
name
Units
Original record unit_behavior is preserved; metadata performs no numerical computation
Result
Original NUMERIC_API_v1 metadata; no field omission or fabricated defaults
Function
Resolve one unambiguous original expression operation record
gxtxt_api_call("NUMERIC_API_v1", "operationByExpressionName", args)
Recorded result · operationByExpressionName:sin

Download the example script (ZIP).

Example operands, preview

[
  "sin"
]

Result, preview

{
  "id": "array_unary.sin",
  "expression_name": "sin",
  "category": "elementwise",
  "bindings": [
    "tcl",
    "octave"
  ],
  "arity_min": 1,
  "arity_max": 1,
  "arguments": [
    "operand"
  ],
  "accepted_kinds": [
    "scalar",
    "vector",
    "matrix"
  ],
  "shape_semantics": "same_as_input",
  "broadcast_semantics": "none",
  "options": {
    "nonfinite": [
      "error",
      "ieee"
    ]
  },
  "result_kind": "numeric",
  "result_shape": "same_as_input",
  "nonfinite_policies": [
    "error",
    "ieee"
  ],
  "unit_behavior": "dimensionless_input_output",
  "summary": "Apply a dimensionless mathematical function",
  "capability": "elementwise_unary",
  "flags": [
    "expression"
  ]
}
Contract query · expression-name:fit_bootstrap

Download the example script (ZIP).

Example operands, preview

[
  "bootstrap_refits"
]

Result, preview

"GXTXT:ScriptBridge:RemoteError: NUMERIC_API_v1/operationByExpressionName: math.numeric API v1: unknown or ambiguous expression operation 'bootstrap_refits'"

listFoundationOperations

Access
Registered in the Python Job
Arguments
no arguments
Units
Original record unit_behavior is preserved; metadata performs no numerical computation
Result
Original NUMERIC_API_v1 metadata; no field omission or fabricated defaults
Function
List every original Numeric foundation action ID
gxtxt_api_call("NUMERIC_API_v1", "listFoundationOperations", args)
Recorded result · listFoundationOperations

Download the example script (ZIP).

Example operands, preview

[]

Result, preview

[
  "calculus.directional",
  "calculus.gradient",
  "calculus.gradient_grid",
  "calculus.hessian",
  "calculus.integrate2",
  "calculus.integrate3",
  "calculus.jacobian",
  "calculus.line_integral",
  "calculus.line_scalar_integral",
  "calculus.surface_flux",
  "calculus.surface_integral",
  "calculus.weighted_integral"
]

foundationOperationMetadata

Access
Registered in the Python Job
Arguments
id
Units
Original record unit_behavior is preserved; metadata performs no numerical computation
Result
Original NUMERIC_API_v1 metadata; no field omission or fabricated defaults
Function
Read the complete original Numeric foundation action record
gxtxt_api_call("NUMERIC_API_v1", "foundationOperationMetadata", args)
Recorded result · foundationOperationMetadata:tensor.transpose

Download the example script (ZIP).

Example operands, preview

[
  "tensor.transpose"
]

Result, preview

{
  "id": "tensor.transpose",
  "family": "tensor",
  "action": "transpose",
  "api_id": "NUMERIC_API_v1",
  "api_version": 1,
  "parent_operation": "foundation",
  "worksheet_name": "numeric.foundation.tensor.transpose",
  "arguments": [
    "tensor",
    "other",
    "unused"
  ],
  "input_shapes": "matrix or tensor",
  "result_shape": "structured",
  "result_kind": "structured",
  "unit_behavior": "caller_owned",
  "summary": "Transpose in the tensor family",
  "flags": [
    "data_only"
  ],
  "bindings": [
    "tcl",
    "octave",
    "bridge"
  ],
  "signature": "numeric.foundation.tensor.transpose(tensor, other, unused, options)",
  "worksheet_example": "Apply numeric.foundation.tensor.transpose using Worksheet ranges A1:A20 and B1:B20; set action-specific operands in the guided dialog."
}

apiInfo

Access
Registered in the Python Job
Arguments
no arguments
Units
Original record unit_behavior is preserved; metadata performs no numerical computation
Result
Original NUMERIC_API_v1 metadata; no field omission or fabricated defaults
Function
Read original Numeric API identity, capabilities and live availability
gxtxt_api_call("NUMERIC_API_v1", "apiInfo", args)
Recorded result · apiInfo

Download the example script (ZIP).

Example operands, preview

[]

Result, preview

{
  "api_name": "NUMERIC_API_v1",
  "api_version": 1,
  "module_id": "math.numeric",
  "module_version": "1.65.0",
  "octave_available": true,
  "capabilities": [
    "bounded_summaries",
    "faithful_float_moments",
    "safe_mathematical_expressions",
    "profile_likelihood",
    "digitization_uncertainty",
    "digitization_covariance",
    "akima",
    "custom_knot_bspline",
    "rational_models",
    "rational_domain_guard",
    "fit_initialization",
    "fit_formula_declaration"
  ],
  "dataset_expression_methods": [
    "expressionDataset",
    "expressionDatasetCaptured"
  ],
  "dataset_pointwise_methods": [
    "interpolateDatasetCaptured",
    "complexDatasetCaptured"
  ],
  "captured_array_owner": "MANAGED_RESOURCE_API_v1",
  "octave_callback_operations": [
    "nonlinear_fit",
    "dataset_nonlinear_fit",
    "root_find",
    "minimize_1d",
    "minimize"
  ]
}

callOperation

Access
Registered in the Python Job
Arguments
id, ordered typed operands, optional typed options struct
Units
original per-selector Numeric contract
Result
original catalog result and complete typed fields
Function
Invoke an original Numeric catalog selector using its typed owner contract
gxtxt_api_call("NUMERIC_API_v1", "callOperation", args)
Recorded result · call:dataset_find_peaks

Download the example script (ZIP).

Example operands, preview

[
  "dataset_find_peaks",
  [
    {
      "kind": "text",
      "value": "[percorso di prova]
    },
    {
      "kind": "text",
      "value": "numeric_control_inputs_2"
    },
    {
      "kind": "text",
      "value": "x"
    },
    {
      "kind": "text",
      "value": "y"
    }
  ]
]

Result, preview

{
  "indices": {
    "shape": [
      0,
      1
    ],
    "dtype": "float64",
    "values": []
  },
  "x": {
    "shape": [
      0,
      1
    ],
    "dtype": "float64",
    "values": []
  },
  "heights": {
    "shape": [
      0,
      1
    ],
    "dtype": "float64",
    "values": []
  },
  "prominences": {
    "shape": [
      0,
      1
    ],
    "dtype": "float64",
    "values": []
  },
  "widths": {
    "shape": [
      0,
      1
    ],
    "dtype": "float64",
    "values": []
  },
  "left_x": {
    "shape": [
      0,
      1
    ],
    "dtype": "float64",
    "values": []
  },
  "right_x": {
    "shape": [
      0,
      1
    ],
    "dtype": "float64",
    "values": []
  },
  "n": 0.0,
  "min_height": -1.7976931348623157e+308,
  "min_prominence": 0.0,
  "min_distance": 1.0,
  "distance_mode": "samples",
  "relative_height": 0.5,
  "index_base": 1.0,
  "dataset_id": "numeric_control_inputs_2",
  "x_variable_id": "x",
  "y_variable_id": "y",
  "x_unit": "s"
}
Negative test or attempted call · call:array_reduce.all

Download the example script (ZIP).

Example operands, preview

[
  "array_reduce.all",
  [
    {
      "kind": "array",
      "shape": [
        2,
        2
      ],
      "real": [
        0.25,
        0.5,
        0.75,
        0.25
      ]
    }
  ]
]

Result, preview

"GXTXT:ScriptBridge:RemoteError: NUMERIC_API_v1/callOperation: mask values must be logical 0 or 1"

supports

Access
Registered in the Python Job
Arguments
capability
Units
Exact original owner units and interpretation; no relabelling
Result
Exact owner boolean, ordered text list, text or current-interpreter type map; no inferred numerical alias
Function
Exact original Numeric supports
gxtxt_api_call("NUMERIC_API_v1", "supports", args)
Recorded result · supports:fft

Download the example script (ZIP).

Example operands, preview

[
  "fft"
]

Result, preview

true

callOperationCaptured

Access
Registered in the Python Job
Arguments
document id operands context {options {kind struct fields {}}} {provenance {}}
Units
Exact original owner units and interpretation; no relabelling
Result
Original values/types/captured_statistics/transport envelope; canonical statistical result or Resource binding through existing CORE codecs, with captured_column references distinct from sample values
Function
Exact original Numeric callOperationCaptured
gxtxt_api_call("NUMERIC_API_v1", "callOperationCaptured", args)
Recorded result · callOperationCaptured

Download the example script (ZIP).

Example operands, preview

[
  "idoc_8796799055001646",
  "statistics",
  [
    {
      "kind": "array",
      "shape": [
        9,
        1
      ],
      "real": [
        1.0,
        4.0,
        9.0,
        16.0,
        25.0,
        36.0,
        49.0,
        64.0,
        81.0
      ]
    }
  ],
  {
    "x_unit": "V"
  }
]

Result, preview

{
  "values": {
    "n": 9.0,
    "n_input": 9.0,
    "n_valid": 9.0,
    "n_nonfinite": 0.0,
    "min": 1.0,
    "max": 81.0,
    "max_absolute": 81.0,
    "range": 80.0,
    "sum": 285.0,
    "mean": 31.666666666666668,
    "median": 25.0,
    "q25": 9.0,
    "q75": 49.0,
    "iqr": 40.0,
    "variance_population": 700.8888888888888,
    "std_population": 26.474306202219704,
    "variance_sample": 788.4999999999999,
    "std_sample": 28.08024216419794
  },
  "types": {
    "n": "number",
    "n_input": "number",
    "n_valid": "number",
    "n_nonfinite": "number",
    "min": "number",
    "max": "number",
    "max_absolute": "number",
    "range": "number",
    "sum": "number",
    "mean": "number",
    "median": "number",
    "q25": "number",
    "q75": "number",
    "iqr": "number",
    "variance_population": "number",
    "std_population": "number",
    "variance_sample": "number",
    "std_sample": "number"
  },
  "transport": {
    "input_binary_bytes": 72,
    "output_binary_bytes": 0,
    "control_request_bytes": 673,
    "control_response_bytes": 1506,
    "provider_calls": 1
  },
  "captured_statistics": {
    "api_id": "STATISTICAL_RESULT_SEMANTICS_API_v1",
    "api_version": 1,
    "schema": "gxtxt.statistical_result.v1",
    "model": {
      "label": "Descriptive analysis",
      "profile": "summary",
      "parameter_convention": "none",
      "description": "",
      "parameter_ids": [],
      "id": "math.numeric.summary",
      "owner": "math.numeric"
    },
    "residual": {
      "definition": "observed_minus_predicted_at_source_x",
      "orientation": "y_of_x",
      "axis": "y",
      "unit": "",
      "coordinate_space": "original_physical",
      "status": "not_applicable",
      "reason": "This analysis has no residual model",
      "zero_normal_sign_policy": "unspecified"
    },
    "parameters": [],
    "quantities": {
      "replicate_mean": {
        "status": "not_applicable",
        "label": "Consensus mean",
        "unit": "",
        "kind": "scalar",
        "reason": "Quantity requires a registered aligned replicate profile",
        "definition": "Arithmetic mean of aligned contributing curves"
      },
      "replicate_median": {
        "status": "not_applicable",
        "label": "Consensus median",
        "unit": "",
        "kind": "scalar",
        "reason": "Quantity requires a registered aligned replicate profile",
        "definition": "Median of aligned contributing curves"
      },
      "replicate_dispersion": {
        "status": "not_applicable",
        "label": "Profile dispersion",
        "unit": "",
        "kind": "scalar",
        "reason": "Quantity requires a registered aligned replicate profile",
        "definition": "Sample curve spread; cloud mode uses combined local and source-location spread when available"
      },
      "replicate_sem": {
        "status": "not_applicable",
        "label": "Conditional consensus SEM",
        "unit": "",
        "kind": "scalar",
        "reason": "Quantity requires a registered aligned replicate profile",
        "definition": "Sample curve standard deviation divided by square root of curve count under the declared independent-trace model"
      },
      "replicate_within": {
        "status": "not_applicable",
        "label": "Within-source dispersion component",
        "unit": "",
        "kind": "scalar",
        "reason": "Quantity requires a registered aligned replicate profile",
        "definition": "Labelled mode uses pool
[…]
Negative test or attempted call · callOperationCaptured

Download the example script (ZIP).

Example operands, preview

[
  "GuideDocument_BoundaryControl",
  "statistics",
  [
    {
      "kind": "array",
      "shape": [
        9,
        1
      ],
      "real": [
        1.0,
        4.0,
        9.0,
        16.0,
        25.0,
        36.0,
        49.0,
        64.0,
        81.0
      ]
    }
  ],
  {
    "sample_role": "evaluation"
  }
]

Result, preview

"GXTXT:ScriptBridge:RemoteError: NUMERIC_API_v1/callOperationCaptured: Invalid Interactive Document ID 'GuideDocument_BoundaryControl'."

modelKinds

Access
Registered in the Python Job
Arguments
id
Units
Exact original owner units and interpretation; no relabelling
Result
Exact owner boolean, ordered text list, text or current-interpreter type map; no inferred numerical alias
Function
Exact original Numeric modelKinds
gxtxt_api_call("NUMERIC_API_v1", "modelKinds", args)
Recorded result · modelKinds:root_find

Download the example script (ZIP).

Example operands, preview

[
  "root_find"
]

Result, preview

[
  "polynomial"
]
Contract query · model-kinds:foundation.constrained.minimize

Download the example script (ZIP).

Example operands, preview

[
  "foundation.constrained.minimize"
]

Result, preview

"GXTXT:ScriptBridge:RemoteError: NUMERIC_API_v1/modelKinds: math.numeric API v1: operation 'foundation.constrained.minimize' has no declarative model callback contract"

callModelOperation

Access
Registered in the Python Job
Arguments
id model operands {options {kind struct fields {}}}
Units
Exact original owner units and interpretation; no relabelling
Result
Complete original result with number/boolean/string/vector/matrix/tensor/struct/cell types from owner resultTypes immediately after call
Function
Exact original Numeric callModelOperation
gxtxt_api_call("NUMERIC_API_v1", "callModelOperation", args)
Recorded result · model:foundation.variational.first_variation

Download the example script (ZIP).

Example operands, preview

[
  "foundation.variational.first_variation",
  {
    "kind": "struct",
    "fields": {
      "kind": {
        "kind": "text",
        "value": "quadratic_norm"
      },
      "center": {
        "kind": "array",
        "shape": [
          2,
          1
        ],
        "real": [
          2.0,
          -1.0
        ]
      }
    }
  },
  [
    {
      "kind": "array",
      "shape": [
        2,
        1
      ],
      "real": [
        0.0,
        0.0
      ]
    },
    {
      "kind": "array",
      "shape": [
        2,
        1
      ],
      "real": [
        0.0,
        0.0
      ]
    }
  ],
  {
    "kind": "struct",
    "fields": {
      "constraints": {
        "kind": "struct",
        "fields": {
          "lower": {
            "kind": "array",
            "shape": [
              2,
              1
            ],
            "real": [
              -4.0,
              -4.0
            ]
          },
          "upper": {
            "kind": "array",
            "shape": [
              2,
              1
            ],
            "real": [
              4.0,
              4.0
            ]
          }
        }
      }
    }
  }
]

Result, preview

{
  "gradient": {
    "shape": [
      2,
      1
    ],
    "dtype": "float64",
    "values": [
      -4.0,
      2.0
    ]
  }
}
Negative test or attempted call · model:foundation.variational.constrained

Download the example script (ZIP).

Example operands, preview

[
  "foundation.variational.constrained",
  {
    "kind": "struct",
    "fields": {
      "kind": {
        "kind": "text",
        "value": "quadratic_norm"
      },
      "center": {
        "kind": "array",
        "shape": [
          2,
          1
        ],
        "real": [
          2.0,
          -1.0
        ]
      }
    }
  },
  [
    {
      "kind": "array",
      "shape": [
        2,
        1
      ],
      "real": [
        0.0,
        0.0
      ]
    },
    {
      "kind": "array",
      "shape": [
        2,
        1
      ],
      "real": [
        0.0,
        0.0
      ]
    }
  ],
  {
    "kind": "struct",
    "fields": {
      "constraints": {
        "kind": "struct",
        "fields": {
          "lower": {
            "kind": "array",
            "shape": [
              2,
              1
            ],
            "real": [
              -4.0,
              -4.0
            ]
          },
          "upper": {
            "kind": "array",
            "shape": [
              2,
              1
            ],
            "real": [
              4.0,
              4.0
            ]
          }
        }
      }
    }
  }
]

Result, preview

"GXTXT:ScriptBridge:RemoteError: NUMERIC_API_v1/callModelOperation: package optim is not installed"

resultTypes

Access
Registered in the Python Job
Arguments
[]
Units
Exact original owner units and interpretation; no relabelling
Result
Exact owner boolean, ordered text list, text or current-interpreter type map; no inferred numerical alias
Function
Exact original Numeric resultTypes
gxtxt_api_call("NUMERIC_API_v1", "resultTypes", args)
Recorded result · resultTypes

Download the example script (ZIP).

Example operands, preview

[]

Result, preview

{}

studentTCdf

Access
Registered in the Python Job
Arguments
t degreesOfFreedom {options {}}
Units
Exact original owner units and interpretation; no relabelling
Result
Complete original result with number/boolean/string/vector/matrix/tensor/struct/cell types from owner resultTypes immediately after call
Function
Exact original Numeric studentTCdf
gxtxt_api_call("NUMERIC_API_v1", "studentTCdf", args)
Recorded result · studentTCdf

Download the example script (ZIP).

Example operands, preview

[
  {
    "kind": "scalar",
    "value": 0.0
  },
  {
    "kind": "scalar",
    "value": 8.0
  }
]

Result, preview

{
  "values": 0.5
}
Negative test or attempted call · studentTCdf

Download the example script (ZIP).

Result, preview

"GXTXT:ScriptBridge:RemoteError: NUMERIC_API_v1/studentTCdf: math.numeric API v1: array operand requires kind and value"

foundationCaptured

Access
Registered in the Python Job
Arguments
document family action a b c context {options {kind struct fields {}}} {provenance {}}
Units
Exact original owner units and interpretation; no relabelling
Result
Original values/types/captured_statistics/transport envelope; canonical statistical result or Resource binding through existing CORE codecs, with captured_column references distinct from sample values
Function
Exact original Numeric foundationCaptured
gxtxt_api_call("NUMERIC_API_v1", "foundationCaptured", args)
Recorded result · foundationCaptured

Download the example script (ZIP).

Example operands, preview

[
  "idoc_8796799055001646",
  "statistics",
  "survival_kaplan_meier",
  {
    "kind": "array",
    "shape": [
      4,
      1
    ],
    "real": [
      1.0,
      2.0,
      3.0,
      4.0
    ]
  },
  {
    "kind": "array",
    "shape": [
      4,
      1
    ],
    "real": [
      1.0,
      0.0,
      1.0,
      1.0
    ]
  },
  {
    "kind": "empty"
  },
  {
    "x_unit": "s"
  }
]

Result, preview

{
  "values": {
    "method": "Kaplan-Meier",
    "n": 4.0
  },
  "types": {
    "time": "captured_column",
    "survival": "captured_column",
    "method": "string",
    "n": "number",
    "at_risk": "captured_column",
    "events": "captured_column",
    "censored": "captured_column"
  },
  "transport": {
    "input_binary_bytes": 64,
    "output_binary_bytes": 160,
    "control_request_bytes": 706,
    "control_response_bytes": 1437,
    "provider_calls": 1
  },
  "captured_statistics": {
    "api_id": "STATISTICAL_RESULT_SEMANTICS_API_v1",
    "api_version": 1,
    "schema": "gxtxt.statistical_result.resource_binding.v1",
    "prototype": {
      "api_id": "STATISTICAL_RESULT_SEMANTICS_API_v1",
      "api_version": 1,
      "schema": "gxtxt.statistical_result.v1",
      "model": {
        "label": "Kaplan-Meier product-limit survival",
        "profile": "survival",
        "parameter_convention": "none",
        "description": "",
        "parameter_ids": [],
        "id": "math.numeric.foundation_survival",
        "owner": "math.numeric"
      },
      "residual": {
        "definition": "observed_minus_predicted_at_source_x",
        "orientation": "y_of_x",
        "axis": "y",
        "unit": "",
        "coordinate_space": "original_physical",
        "status": "value",
        "reason": "",
        "zero_normal_sign_policy": "unspecified"
      },
      "parameters": [],
      "quantities": {
        "replicate_mean": {
          "status": "not_applicable",
          "label": "Consensus mean",
          "unit": "",
          "kind": "scalar",
          "reason": "Quantity requires a registered aligned replicate profile",
          "definition": "Arithmetic mean of aligned contributing curves"
        },
        "replicate_median": {
          "status": "not_applicable",
          "label": "Consensus median",
          "unit": "",
          "kind": "scalar",
          "reason": "Quantity requires a registered aligned replicate profile",
          "definition": "Median of aligned contributing curves"
        },
        "replicate_dispersion": {
          "status": "not_applicable",
          "label": "Profile dispersion",
          "unit": "",
          "kind": "scalar",
          "reason": "Quantity requires a registered aligned replicate profile",
          "definition": "Sample curve spread; cloud mode uses combined local and source-location spread when available"
        },
        "replicate_sem": {
          "status": "not_applicable",
          "label": "Conditional consensus SEM",
          "unit": "",
          "kind": "scalar",
          "reason": "Quantity requires a registered aligned replicate profile",
          "definition": "Sample curve standard deviation divided by square root of curve count under the declared independent-trace model"
        },
        "replicate_within": {
          "status": "not_applicable",
          "label": "Within-source dispersion component",
          "unit": "",
          "kind": "scalar",
          "reason": "Quantity requires a registered aligned replicate profile",
          "definition": "Labelled mode uses pooled within-source moments; cloud mode uses RMS of local residual dispersions"
        },
        "replicate_between": {
          "status": "not_applicable",
          "label": "Between-source dispersion component",
          "unit": "",
          "kind": "scalar",
          "reason": "Quantity requires a registered aligned replicate profile",
          "definition": "Lab
[…]
Negative test or attempted call · foundationCaptured:unmapped

Download the example script (ZIP).

Example operands, preview

[
  "idoc_8796799055001646",
  "tensor",
  "transpose",
  {
    "kind": "array",
    "shape": [
      2,
      2
    ],
    "real": [
      1.0,
      3.0,
      2.0,
      4.0
    ]
  },
  {
    "kind": "empty"
  },
  {
    "kind": "empty"
  },
  {}
]

Result, preview

"GXTXT:ScriptBridge:RemoteError: NUMERIC_API_v1/foundationCaptured: Numeric operation 'foundation.tensor.transpose' has no registered field interpretation"

capabilities

Access
Registered in the Python Job
Arguments
[]
Units
Exact original owner units and interpretation; no relabelling
Result
Exact owner boolean, ordered text list, text or current-interpreter type map; no inferred numerical alias
Function
Exact original Numeric capabilities
gxtxt_api_call("NUMERIC_API_v1", "capabilities", args)
Recorded result · capabilities

Download the example script (ZIP).

Example operands, preview

[]

Result, preview

[
  "bounded_summaries",
  "faithful_float_moments",
  "safe_mathematical_expressions",
  "profile_likelihood",
  "digitization_uncertainty",
  "digitization_covariance",
  "akima",
  "custom_knot_bspline",
  "rational_models",
  "rational_domain_guard",
  "fit_initialization",
  "fit_formula_declaration"
]

requireCapability

Access
Registered in the Python Job
Arguments
capability
Units
Exact original owner units and interpretation; no relabelling
Result
Exact owner boolean, ordered text list, text or current-interpreter type map; no inferred numerical alias
Function
Exact original Numeric requireCapability
gxtxt_api_call("NUMERIC_API_v1", "requireCapability", args)
Recorded result · requireCapability:fft

Download the example script (ZIP).

Example operands, preview

[
  "fft"
]

Result, preview

true
Negative test or attempted call · requireCapability:guide_absent

Download the example script (ZIP).

Example operands, preview

[
  "guide_absent"
]

Result, preview

"GXTXT:ScriptBridge:RemoteError: NUMERIC_API_v1/requireCapability: math.numeric API v1: capability 'guide_absent' is not supported"

octaveFunction

Access
Registered in the Python Job
Arguments
[]
Units
Exact original owner units and interpretation; no relabelling
Result
Exact owner boolean, ordered text list, text or current-interpreter type map; no inferred numerical alias
Function
Exact original Numeric octaveFunction
gxtxt_api_call("NUMERIC_API_v1", "octaveFunction", args)
Recorded result · octaveFunction

Download the example script (ZIP).

Example operands, preview

[]

Result, preview

"gxtxt_numeric_v1"

octaveAvailable

Access
Registered in the Python Job
Arguments
[]
Units
Exact original owner units and interpretation; no relabelling
Result
Exact owner boolean, ordered text list, text or current-interpreter type map; no inferred numerical alias
Function
Exact original Numeric octaveAvailable
gxtxt_api_call("NUMERIC_API_v1", "octaveAvailable", args)
Recorded result · octaveAvailable

Download the example script (ZIP).

Example operands, preview

[]

Result, preview

true

octaveApiDir

Access
Registered in the Python Job
Arguments
[]
Units
Exact original owner units and interpretation; no relabelling
Result
Exact owner boolean, ordered text list, text or current-interpreter type map; no inferred numerical alias
Function
Exact original Numeric octaveApiDir
gxtxt_api_call("NUMERIC_API_v1", "octaveApiDir", args)
Recorded result · octaveApiDir

Download the example script (ZIP).

Example operands, preview

[]

Result, preview

"[percorso di prova]"