Foundation families and models

Look up Foundation families and their selectors, operation signatures, and available ways to call them from Python.

Numerical computing, models, statistics, and Datasets with Python

Typed data, functions, and files

Split the selector into family and action. Pass A, B, and C even if the operation uses only one operand. Use {'kind':'empty'} for unused positions. For a compatible declared model, use callModelOperation with the name foundation.family.action. A callback handle is valid within the Job that registered it. File paths that require host privileges are subject to service checks. In the tested runtime, k-means requires the Octave statistics package, and the declared constrained variation requires optim. Both packages were absent. Mesh operations on numeric data and Python paths using callables follow the contracts documented in the examples.

Operation reference

Jump to an operation

family.align

Access
Foundation selector. Check the Python route and signature.
Arguments
x,y,target
Shape
aligned scientific data
Units
Depends on the action
Result
structured
gxtxt_api_call("NUMERIC_API_v1", "foundation", ["family", "align", a, b, c])
Recorded result · family.align

Download the example script (ZIP).

Result, preview

{
  "value_real": {
    "shape": [
      2,
      2
    ],
    "dtype": "float64",
    "values": [
      2.0,
      4.0,
      0.5,
      1.5
    ]
  },
  "value_imaginary": {
    "shape": [
      2,
      2
    ],
    "dtype": "float64",
    "values": [
      0.0,
      0.0,
      0.0,
      0.0
    ]
  },
  "x": {
    "shape": [
      2,
      1
    ],
    "dtype": "float64",
    "values": [
      0.5,
      1.5
    ]
  }
}

family.surface

Access
Foundation selector. Check the Python route and signature.
Arguments
x,y,target
Shape
aligned scientific data
Units
Depends on the action
Result
structured
gxtxt_api_call("NUMERIC_API_v1", "foundation", ["family", "surface", a, b, c])
Recorded result · family.surface

Download the example script (ZIP).

Result, preview

{
  "value_real": {
    "shape": [
      2,
      2
    ],
    "dtype": "float64",
    "values": [
      2.0,
      4.0,
      0.5,
      1.5
    ]
  },
  "value_imaginary": {
    "shape": [
      2,
      2
    ],
    "dtype": "float64",
    "values": [
      0.0,
      0.0,
      0.0,
      0.0
    ]
  },
  "x": {
    "shape": [
      2,
      1
    ],
    "dtype": "float64",
    "values": [
      0.5,
      1.5
    ]
  }
}

family.derivative

Access
Foundation selector. Check the Python route and signature.
Arguments
x,y,target
Shape
aligned scientific data
Units
Depends on the action
Result
structured
gxtxt_api_call("NUMERIC_API_v1", "foundation", ["family", "derivative", a, b, c])
Recorded result · family.derivative

Download the example script (ZIP).

Result, preview

{
  "value_real": {
    "shape": [
      2,
      2
    ],
    "dtype": "float64",
    "values": [
      2.0,
      2.0,
      1.0,
      1.0
    ]
  },
  "value_imaginary": {
    "shape": [
      2,
      2
    ],
    "dtype": "float64",
    "values": [
      0.0,
      0.0,
      0.0,
      0.0
    ]
  },
  "x": {
    "shape": [
      2,
      1
    ],
    "dtype": "float64",
    "values": [
      0.5,
      1.5
    ]
  }
}

family.extrema

Access
Foundation selector. Check the Python route and signature.
Arguments
x,y,target
Shape
aligned scientific data
Units
Depends on the action
Result
structured
gxtxt_api_call("NUMERIC_API_v1", "foundation", ["family", "extrema", a, b, c])
Recorded result · family.extrema

Download the example script (ZIP).

Result, preview

{
  "minimum_magnitude": {
    "shape": [
      1,
      2
    ],
    "dtype": "float64",
    "values": [
      2.0,
      0.5
    ]
  },
  "maximum_magnitude": {
    "shape": [
      1,
      2
    ],
    "dtype": "float64",
    "values": [
      4.0,
      1.5
    ]
  },
  "minimum_x": {
    "shape": [
      2,
      1
    ],
    "dtype": "float64",
    "values": [
      0.5,
      0.5
    ]
  },
  "maximum_x": {
    "shape": [
      2,
      1
    ],
    "dtype": "float64",
    "values": [
      1.5,
      1.5
    ]
  }
}

family.envelope

Access
Foundation selector. Check the Python route and signature.
Arguments
x,y,target
Shape
aligned scientific data
Units
Depends on the action
Result
structured
gxtxt_api_call("NUMERIC_API_v1", "foundation", ["family", "envelope", a, b, c])
Recorded result · family.envelope

Download the example script (ZIP).

Result, preview

{
  "minimum_magnitude": {
    "shape": [
      2,
      1
    ],
    "dtype": "float64",
    "values": [
      0.5,
      1.5
    ]
  },
  "maximum_magnitude": {
    "shape": [
      2,
      1
    ],
    "dtype": "float64",
    "values": [
      2.0,
      4.0
    ]
  },
  "x": {
    "shape": [
      2,
      1
    ],
    "dtype": "float64",
    "values": [
      0.5,
      1.5
    ]
  }
}

tensor.transpose

Access
Foundation selector. Check the Python route and signature.
Arguments
tensor,other,unused
Shape
matrix or tensor
Units
Depends on the action
Result
structured
gxtxt_api_call("NUMERIC_API_v1", "foundation", ["tensor", "transpose", a, b, c])
Recorded result · tensor.transpose

Download the example script (ZIP).

Result, preview

{
  "value_real": {
    "shape": [
      2,
      2
    ],
    "dtype": "float64",
    "values": [
      1.0,
      2.0,
      3.0,
      7.0
    ]
  },
  "value_imaginary": {
    "shape": [
      2,
      2
    ],
    "dtype": "float64",
    "values": [
      0.0,
      0.0,
      0.0,
      0.0
    ]
  }
}

tensor.conjugate_transpose

Access
Foundation selector. Check the Python route and signature.
Arguments
tensor,other,unused
Shape
matrix or tensor
Units
Depends on the action
Result
structured
gxtxt_api_call("NUMERIC_API_v1", "foundation", ["tensor", "conjugate_transpose", a, b, c])
Recorded result · tensor.conjugate_transpose

Download the example script (ZIP).

Result, preview

{
  "value_real": {
    "shape": [
      2,
      2
    ],
    "dtype": "float64",
    "values": [
      1.0,
      3.0,
      4.0,
      5.0
    ]
  },
  "value_imaginary": {
    "shape": [
      2,
      2
    ],
    "dtype": "float64",
    "values": [
      -2.0,
      -0.0,
      -0.0,
      2.0
    ]
  }
}

tensor.trace

Access
Foundation selector. Check the Python route and signature.
Arguments
tensor,other,unused
Shape
matrix or tensor
Units
Depends on the action
Result
structured
gxtxt_api_call("NUMERIC_API_v1", "foundation", ["tensor", "trace", a, b, c])
Recorded result · tensor.trace

Download the example script (ZIP).

Result, preview

{
  "value_real": 8.0,
  "value_imaginary": 0.0
}

tensor.symmetric_part

Access
Foundation selector. Check the Python route and signature.
Arguments
tensor,other,unused
Shape
matrix or tensor
Units
Depends on the action
Result
structured
gxtxt_api_call("NUMERIC_API_v1", "foundation", ["tensor", "symmetric_part", a, b, c])
Recorded result · tensor.symmetric_part

Download the example script (ZIP).

Result, preview

{
  "value_real": {
    "shape": [
      2,
      2
    ],
    "dtype": "float64",
    "values": [
      1.0,
      2.5,
      2.5,
      7.0
    ]
  },
  "value_imaginary": {
    "shape": [
      2,
      2
    ],
    "dtype": "float64",
    "values": [
      0.0,
      0.0,
      0.0,
      0.0
    ]
  }
}

tensor.antisymmetric_part

Access
Foundation selector. Check the Python route and signature.
Arguments
tensor,other,unused
Shape
matrix or tensor
Units
Depends on the action
Result
structured
gxtxt_api_call("NUMERIC_API_v1", "foundation", ["tensor", "antisymmetric_part", a, b, c])
Recorded result · tensor.antisymmetric_part

Download the example script (ZIP).

Result, preview

{
  "value_real": {
    "shape": [
      2,
      2
    ],
    "dtype": "float64",
    "values": [
      0.0,
      0.5,
      -0.5,
      0.0
    ]
  },
  "value_imaginary": {
    "shape": [
      2,
      2
    ],
    "dtype": "float64",
    "values": [
      0.0,
      0.0,
      0.0,
      0.0
    ]
  }
}

tensor.contract

Access
Foundation selector. Check the Python route and signature.
Arguments
tensor,other,unused
Shape
matrix or tensor
Units
Depends on the action
Result
structured
gxtxt_api_call("NUMERIC_API_v1", "foundation", ["tensor", "contract", a, b, c])
Recorded result · tensor.contract

Download the example script (ZIP).

Result, preview

{
  "value_real": 16.0,
  "value_imaginary": 0.0
}

tensor.apply

Access
Foundation selector. Check the Python route and signature.
Arguments
tensor,other,unused
Shape
matrix or tensor
Units
Depends on the action
Result
structured
gxtxt_api_call("NUMERIC_API_v1", "foundation", ["tensor", "apply", a, b, c])
Recorded result · tensor.apply

Download the example script (ZIP).

Result, preview

{
  "value_real": {
    "shape": [
      2,
      1
    ],
    "dtype": "float64",
    "values": [
      5.0,
      17.0
    ]
  },
  "value_imaginary": {
    "shape": [
      2,
      1
    ],
    "dtype": "float64",
    "values": [
      0.0,
      0.0
    ]
  }
}

tensor.outer

Access
Foundation selector. Check the Python route and signature.
Arguments
tensor,other,unused
Shape
matrix or tensor
Units
Depends on the action
Result
structured
gxtxt_api_call("NUMERIC_API_v1", "foundation", ["tensor", "outer", a, b, c])
Recorded result · tensor.outer

Download the example script (ZIP).

Result, preview

{
  "value_real": {
    "shape": [
      3,
      3
    ],
    "dtype": "float64",
    "values": [
      0.0,
      1.0,
      2.0,
      0.0,
      3.0,
      6.0,
      0.0,
      5.0,
      10.0
    ]
  },
  "value_imaginary": {
    "shape": [
      3,
      3
    ],
    "dtype": "float64",
    "values": [
      0.0,
      0.0,
      0.0,
      0.0,
      0.0,
      0.0,
      0.0,
      0.0,
      0.0
    ]
  }
}

scattered.interpolate

Access
Foundation selector. Check the Python route and signature.
Arguments
points,values,query
Shape
point cloud and query points
Units
Depends on the action
Result
structured
gxtxt_api_call("NUMERIC_API_v1", "foundation", ["scattered", "interpolate", a, b, c])
Recorded result · scattered.interpolate

Download the example script (ZIP).

Result, preview

{
  "value_real": 1.5000000000000002,
  "value_imaginary": 0.0,
  "outside": false
}

vector.dot

Access
Foundation selector. Check the Python route and signature.
Arguments
vector,other,third
Shape
numeric vectors
Units
Depends on the action
Result
structured
gxtxt_api_call("NUMERIC_API_v1", "foundation", ["vector", "dot", a, b, c])
Recorded result · vector.dot

Download the example script (ZIP).

Result, preview

{
  "value_real": 0.0,
  "value_imaginary": 0.0
}

vector.cross

Access
Foundation selector. Check the Python route and signature.
Arguments
vector,other,third
Shape
numeric vectors
Units
Depends on the action
Result
structured
gxtxt_api_call("NUMERIC_API_v1", "foundation", ["vector", "cross", a, b, c])
Recorded result · vector.cross

Download the example script (ZIP).

Result, preview

{
  "value_real": {
    "shape": [
      3,
      1
    ],
    "dtype": "float64",
    "values": [
      0.0,
      0.0,
      1.0
    ]
  },
  "value_imaginary": {
    "shape": [
      3,
      1
    ],
    "dtype": "float64",
    "values": [
      0.0,
      0.0,
      0.0
    ]
  }
}

vector.norm

Access
Foundation selector. Check the Python route and signature.
Arguments
vector,other,third
Shape
numeric vectors
Units
Depends on the action
Result
structured
gxtxt_api_call("NUMERIC_API_v1", "foundation", ["vector", "norm", a, b, c])
Recorded result · vector.norm

Download the example script (ZIP).

Result, preview

{
  "value_real": 1.0,
  "value_imaginary": 0.0
}

vector.normalize

Access
Foundation selector. Check the Python route and signature.
Arguments
vector,other,third
Shape
numeric vectors
Units
Depends on the action
Result
structured
gxtxt_api_call("NUMERIC_API_v1", "foundation", ["vector", "normalize", a, b, c])
Recorded result · vector.normalize

Download the example script (ZIP).

Result, preview

{
  "value_real": {
    "shape": [
      3,
      1
    ],
    "dtype": "float64",
    "values": [
      1.0,
      0.0,
      0.0
    ]
  },
  "value_imaginary": {
    "shape": [
      3,
      1
    ],
    "dtype": "float64",
    "values": [
      0.0,
      0.0,
      0.0
    ]
  }
}

vector.outer

Access
Foundation selector. Check the Python route and signature.
Arguments
vector,other,third
Shape
numeric vectors
Units
Depends on the action
Result
structured
gxtxt_api_call("NUMERIC_API_v1", "foundation", ["vector", "outer", a, b, c])
Recorded result · vector.outer

Download the example script (ZIP).

Result, preview

{
  "value_real": {
    "shape": [
      3,
      3
    ],
    "dtype": "float64",
    "values": [
      0.0,
      0.0,
      0.0,
      1.0,
      0.0,
      0.0,
      0.0,
      0.0,
      0.0
    ]
  },
  "value_imaginary": {
    "shape": [
      3,
      3
    ],
    "dtype": "float64",
    "values": [
      0.0,
      0.0,
      0.0,
      0.0,
      0.0,
      0.0,
      0.0,
      0.0,
      0.0
    ]
  }
}

vector.projection

Access
Foundation selector. Check the Python route and signature.
Arguments
vector,other,third
Shape
numeric vectors
Units
Depends on the action
Result
structured
gxtxt_api_call("NUMERIC_API_v1", "foundation", ["vector", "projection", a, b, c])
Recorded result · vector.projection

Download the example script (ZIP).

Result, preview

{
  "value_real": {
    "shape": [
      3,
      1
    ],
    "dtype": "float64",
    "values": [
      0.0,
      0.0,
      0.0
    ]
  },
  "value_imaginary": {
    "shape": [
      3,
      1
    ],
    "dtype": "float64",
    "values": [
      0.0,
      0.0,
      0.0
    ]
  }
}

vector.angle

Access
Foundation selector. Check the Python route and signature.
Arguments
vector,other,third
Shape
numeric vectors
Units
Depends on the action
Result
structured
gxtxt_api_call("NUMERIC_API_v1", "foundation", ["vector", "angle", a, b, c])
Recorded result · vector.angle

Download the example script (ZIP).

Result, preview

{
  "value_real": 1.5707963267948966,
  "value_imaginary": 0.0
}

vector.triple

Access
Foundation selector. Check the Python route and signature.
Arguments
vector,other,third
Shape
numeric vectors
Units
Depends on the action
Result
structured
gxtxt_api_call("NUMERIC_API_v1", "foundation", ["vector", "triple", a, b, c])
Recorded result · vector.triple

Download the example script (ZIP).

Result, preview

{
  "value_real": 1.0,
  "value_imaginary": 0.0
}

vector.contract

Access
Foundation selector. Check the Python route and signature.
Arguments
vector,other,third
Shape
numeric vectors
Units
Depends on the action
Result
structured
gxtxt_api_call("NUMERIC_API_v1", "foundation", ["vector", "contract", a, b, c])
Recorded result · vector.contract

Download the example script (ZIP).

Result, preview

{
  "value_real": 0.0,
  "value_imaginary": 0.0
}

grid.interpolate

Access
Foundation selector. Check the Python route and signature.
Arguments
axes,values,query
Shape
regular grid and query points
Units
Depends on the action
Result
structured
gxtxt_api_call("NUMERIC_API_v1", "foundation", ["grid", "interpolate", a, b, c])
Recorded result · grid.interpolate:projected

Download the example script (ZIP).

Result, preview

{
  "value_real": 1.5
}

grid.sample

Access
Foundation selector. Check the Python route and signature.
Arguments
axes,values,query
Shape
regular grid and query points
Units
Depends on the action
Result
structured
gxtxt_api_call("NUMERIC_API_v1", "foundation", ["grid", "sample", a, b, c])
Recorded result · grid.sample

Download the example script (ZIP).

Result, preview

{
  "value_real": {
    "shape": [
      2,
      1
    ],
    "dtype": "float64",
    "values": [
      1.5,
      4.5
    ]
  },
  "value_imaginary": {
    "shape": [
      2,
      1
    ],
    "dtype": "float64",
    "values": [
      0.0,
      0.0
    ]
  },
  "outside": {
    "shape": [
      2,
      1
    ],
    "dtype": "bool",
    "values": [
      false,
      false
    ]
  }
}

grid.compatible

Access
Foundation selector. Check the Python route and signature.
Arguments
axes,values,query
Shape
regular grid and query points
Units
Depends on the action
Result
structured
gxtxt_api_call("NUMERIC_API_v1", "foundation", ["grid", "compatible", a, b, c])
Recorded result · grid.compatible

Download the example script (ZIP).

Result, preview

{
  "compatible": true
}

grid.resample

Access
Foundation selector. Check the Python route and signature.
Arguments
axes,values,query
Shape
regular grid and query points
Units
Depends on the action
Result
structured
gxtxt_api_call("NUMERIC_API_v1", "foundation", ["grid", "resample", a, b, c])
Recorded result · grid.resample

Download the example script (ZIP).

Result, preview

{
  "value_real": {
    "shape": [
      3,
      3
    ],
    "dtype": "float64",
    "values": [
      0.0,
      1.0,
      2.0,
      2.0,
      3.0,
      4.0,
      4.0,
      5.0,
      6.0
    ]
  },
  "value_imaginary": {
    "shape": [
      3,
      3
    ],
    "dtype": "float64",
    "values": [
      0.0,
      0.0,
      0.0,
      0.0,
      0.0,
      0.0,
      0.0,
      0.0,
      0.0
    ]
  }
}

calculus.integrate2

Access
Foundation selector. Check the Python route and signature.
Arguments
axes,values,extra
Shape
numeric arrays or callback
Units
Depends on the action
Result
structured
gxtxt_api_call("NUMERIC_API_v1", "foundation", ["calculus", "integrate2", a, b, c])
Recorded result · calculus.integrate2

Download the example script (ZIP).

Result, preview

{
  "value_real": 12.0,
  "value_imaginary": 0.0
}

calculus.integrate3

Access
Foundation selector. Check the Python route and signature.
Arguments
axes,values,extra
Shape
numeric arrays or callback
Units
Depends on the action
Result
structured
gxtxt_api_call("NUMERIC_API_v1", "foundation", ["calculus", "integrate3", a, b, c])
Recorded result · calculus.integrate3

Download the example script (ZIP).

Result, preview

{
  "value_real": 8.0,
  "value_imaginary": 0.0
}

calculus.weighted_integral

Access
Foundation selector. Check the Python route and signature.
Arguments
axes,values,extra
Shape
numeric arrays or callback
Units
Depends on the action
Result
structured
gxtxt_api_call("NUMERIC_API_v1", "foundation", ["calculus", "weighted_integral", a, b, c])
Recorded result · calculus.weighted_integral

Download the example script (ZIP).

Result, preview

{
  "value_real": 12.0,
  "value_imaginary": 0.0
}

calculus.gradient_grid

Access
Foundation selector. Check the Python route and signature.
Arguments
axes,values,extra
Shape
numeric arrays or callback
Units
Depends on the action
Result
structured
gxtxt_api_call("NUMERIC_API_v1", "foundation", ["calculus", "gradient_grid", a, b, c])
Recorded result · calculus.gradient_grid

Download the example script (ZIP).

Result, preview

{
  "axis1_real": {
    "shape": [
      3,
      3
    ],
    "dtype": "float64",
    "values": [
      1.0,
      1.0,
      1.0,
      1.0,
      1.0,
      1.0,
      1.0,
      1.0,
      1.0
    ]
  },
  "axis1_imaginary": {
    "shape": [
      3,
      3
    ],
    "dtype": "float64",
    "values": [
      0.0,
      0.0,
      0.0,
      0.0,
      0.0,
      0.0,
      0.0,
      0.0,
      0.0
    ]
  },
  "axis2_real": {
    "shape": [
      3,
      3
    ],
    "dtype": "float64",
    "values": [
      2.0,
      2.0,
      2.0,
      2.0,
      2.0,
      2.0,
      2.0,
      2.0,
      2.0
    ]
  },
  "axis2_imaginary": {
    "shape": [
      3,
      3
    ],
    "dtype": "float64",
    "values": [
      0.0,
      0.0,
      0.0,
      0.0,
      0.0,
      0.0,
      0.0,
      0.0,
      0.0
    ]
  }
}

calculus.line_integral

Access
Foundation selector. Check the Python route and signature.
Arguments
axes,values,extra
Shape
numeric arrays or callback
Units
Depends on the action
Result
structured
gxtxt_api_call("NUMERIC_API_v1", "foundation", ["calculus", "line_integral", a, b, c])
Recorded result · calculus.line_integral

Download the example script (ZIP).

Result, preview

{
  "value_real": 0.5,
  "value_imaginary": 0.0
}

calculus.line_scalar_integral

Access
Foundation selector. Check the Python route and signature.
Arguments
axes,values,extra
Shape
numeric arrays or callback
Units
Depends on the action
Result
structured
gxtxt_api_call("NUMERIC_API_v1", "foundation", ["calculus", "line_scalar_integral", a, b, c])
Recorded result · calculus.line_scalar_integral

Download the example script (ZIP).

Result, preview

{
  "value_real": 7.656854249492381,
  "value_imaginary": 0.0
}

calculus.surface_flux

Access
Foundation selector. Check the Python route and signature.
Arguments
axes,values,extra
Shape
numeric arrays or callback
Units
Depends on the action
Result
structured
gxtxt_api_call("NUMERIC_API_v1", "foundation", ["calculus", "surface_flux", a, b, c])
Recorded result · calculus.surface_flux

Download the example script (ZIP).

Result, preview

{
  "value_real": 1.0,
  "value_imaginary": 0.0
}

calculus.surface_integral

Access
Foundation selector. Check the Python route and signature.
Arguments
axes,values,extra
Shape
numeric arrays or callback
Units
Depends on the action
Result
structured
gxtxt_api_call("NUMERIC_API_v1", "foundation", ["calculus", "surface_integral", a, b, c])
Recorded result · calculus.surface_integral

Download the example script (ZIP).

Result, preview

{
  "value_real": 1.0,
  "value_imaginary": 0.0
}

calculus.gradient

Access
Foundation selector. Check the Python route and signature.
Arguments
axes,values,extra
Shape
numeric arrays or callback
Units
Depends on the action
Result
structured
gxtxt_api_call("NUMERIC_API_v1", "foundation", ["calculus", "gradient", a, b, c])
Recorded result · calculus.gradient

Download the example script (ZIP).

Result, preview

{
  "value_real": {
    "shape": [
      2,
      1
    ],
    "dtype": "float64",
    "values": [
      1.0,
      3.0
    ]
  },
  "value_imaginary": {
    "shape": [
      2,
      1
    ],
    "dtype": "float64",
    "values": [
      0.0,
      0.0
    ]
  }
}

calculus.jacobian

Access
Foundation selector. Check the Python route and signature.
Arguments
axes,values,extra
Shape
numeric arrays or callback
Units
Depends on the action
Result
structured
gxtxt_api_call("NUMERIC_API_v1", "foundation", ["calculus", "jacobian", a, b, c])
Recorded result · calculus.jacobian

Download the example script (ZIP).

Result, preview

{
  "value_real": {
    "shape": [
      1,
      2
    ],
    "dtype": "float64",
    "values": [
      1.0,
      3.0
    ]
  },
  "value_imaginary": {
    "shape": [
      1,
      2
    ],
    "dtype": "float64",
    "values": [
      0.0,
      0.0
    ]
  }
}

calculus.hessian

Access
Foundation selector. Check the Python route and signature.
Arguments
axes,values,extra
Shape
numeric arrays or callback
Units
Depends on the action
Result
structured
gxtxt_api_call("NUMERIC_API_v1", "foundation", ["calculus", "hessian", a, b, c])
Recorded result · calculus.hessian

Download the example script (ZIP).

Result, preview

{
  "value_real": {
    "shape": [
      2,
      2
    ],
    "dtype": "float64",
    "values": [
      2.0,
      0.0,
      0.0,
      2.0
    ]
  },
  "value_imaginary": {
    "shape": [
      2,
      2
    ],
    "dtype": "float64",
    "values": [
      0.0,
      0.0,
      0.0,
      0.0
    ]
  }
}

calculus.directional

Access
Foundation selector. Check the Python route and signature.
Arguments
axes,values,extra
Shape
numeric arrays or callback
Units
Depends on the action
Result
structured
gxtxt_api_call("NUMERIC_API_v1", "foundation", ["calculus", "directional", a, b, c])
Recorded result · calculus.directional

Download the example script (ZIP).

Result, preview

{
  "value_real": 1.0,
  "value_imaginary": 0.0
}

special.erf

Access
Foundation selector. Check the Python route and signature.
Arguments
value,parameter,unused
Shape
scalar or numeric array
Units
Depends on the action
Result
structured
gxtxt_api_call("NUMERIC_API_v1", "foundation", ["special", "erf", a, b, c])
Recorded result · special.erf

Download the example script (ZIP).

Result, preview

{
  "value_real": {
    "shape": [
      2,
      1
    ],
    "dtype": "float64",
    "values": [
      0.8427007929497149,
      0.9953222650189527
    ]
  },
  "value_imaginary": {
    "shape": [
      2,
      1
    ],
    "dtype": "float64",
    "values": [
      0.0,
      0.0
    ]
  }
}

special.erfc

Access
Foundation selector. Check the Python route and signature.
Arguments
value,parameter,unused
Shape
scalar or numeric array
Units
Depends on the action
Result
structured
gxtxt_api_call("NUMERIC_API_v1", "foundation", ["special", "erfc", a, b, c])
Recorded result · special.erfc

Download the example script (ZIP).

Result, preview

{
  "value_real": {
    "shape": [
      2,
      1
    ],
    "dtype": "float64",
    "values": [
      0.15729920705028513,
      0.004677734981047265
    ]
  },
  "value_imaginary": {
    "shape": [
      2,
      1
    ],
    "dtype": "float64",
    "values": [
      0.0,
      0.0
    ]
  }
}

special.gamma

Access
Foundation selector. Check the Python route and signature.
Arguments
value,parameter,unused
Shape
scalar or numeric array
Units
Depends on the action
Result
structured
gxtxt_api_call("NUMERIC_API_v1", "foundation", ["special", "gamma", a, b, c])
Recorded result · special.gamma

Download the example script (ZIP).

Result, preview

{
  "value_real": {
    "shape": [
      2,
      1
    ],
    "dtype": "float64",
    "values": [
      1.0,
      1.0
    ]
  },
  "value_imaginary": {
    "shape": [
      2,
      1
    ],
    "dtype": "float64",
    "values": [
      0.0,
      0.0
    ]
  }
}

special.log_gamma

Access
Foundation selector. Check the Python route and signature.
Arguments
value,parameter,unused
Shape
scalar or numeric array
Units
Depends on the action
Result
structured
gxtxt_api_call("NUMERIC_API_v1", "foundation", ["special", "log_gamma", a, b, c])
Recorded result · special.log_gamma

Download the example script (ZIP).

Result, preview

{
  "value_real": {
    "shape": [
      2,
      1
    ],
    "dtype": "float64",
    "values": [
      0.0,
      0.0
    ]
  },
  "value_imaginary": {
    "shape": [
      2,
      1
    ],
    "dtype": "float64",
    "values": [
      0.0,
      0.0
    ]
  }
}

special.beta

Access
Foundation selector. Check the Python route and signature.
Arguments
value,parameter,unused
Shape
scalar or numeric array
Units
Depends on the action
Result
structured
gxtxt_api_call("NUMERIC_API_v1", "foundation", ["special", "beta", a, b, c])
Recorded result · special.beta

Download the example script (ZIP).

Result, preview

{
  "value_real": {
    "shape": [
      2,
      1
    ],
    "dtype": "float64",
    "values": [
      1.0,
      0.5
    ]
  },
  "value_imaginary": {
    "shape": [
      2,
      1
    ],
    "dtype": "float64",
    "values": [
      0.0,
      0.0
    ]
  }
}

special.incomplete_gamma

Access
Foundation selector. Check the Python route and signature.
Arguments
value,parameter,unused
Shape
scalar or numeric array
Units
Depends on the action
Result
structured
gxtxt_api_call("NUMERIC_API_v1", "foundation", ["special", "incomplete_gamma", a, b, c])
Recorded result · special.incomplete_gamma

Download the example script (ZIP).

Result, preview

{
  "value_real": {
    "shape": [
      2,
      1
    ],
    "dtype": "float64",
    "values": [
      0.6321205588285577,
      0.8646647167633873
    ]
  },
  "value_imaginary": {
    "shape": [
      2,
      1
    ],
    "dtype": "float64",
    "values": [
      0.0,
      0.0
    ]
  }
}

special.incomplete_beta

Access
Foundation selector. Check the Python route and signature.
Arguments
value,parameter,unused
Shape
scalar or numeric array
Units
Depends on the action
Result
structured
gxtxt_api_call("NUMERIC_API_v1", "foundation", ["special", "incomplete_beta", a, b, c])
Recorded result · special.incomplete_beta

Download the example script (ZIP).

Result, preview

{
  "value_real": {
    "shape": [
      2,
      1
    ],
    "dtype": "float64",
    "values": [
      0.4375,
      0.75
    ]
  },
  "value_imaginary": {
    "shape": [
      2,
      1
    ],
    "dtype": "float64",
    "values": [
      0.0,
      0.0
    ]
  }
}

special.bessel_j

Access
Foundation selector. Check the Python route and signature.
Arguments
value,parameter,unused
Shape
scalar or numeric array
Units
Depends on the action
Result
structured
gxtxt_api_call("NUMERIC_API_v1", "foundation", ["special", "bessel_j", a, b, c])
Recorded result · special.bessel_j

Download the example script (ZIP).

Result, preview

{
  "value_real": {
    "shape": [
      2,
      1
    ],
    "dtype": "float64",
    "values": [
      0.44005058574493355,
      0.5767248077568736
    ]
  },
  "value_imaginary": {
    "shape": [
      2,
      1
    ],
    "dtype": "float64",
    "values": [
      0.0,
      0.0
    ]
  }
}

special.bessel_y

Access
Foundation selector. Check the Python route and signature.
Arguments
value,parameter,unused
Shape
scalar or numeric array
Units
Depends on the action
Result
structured
gxtxt_api_call("NUMERIC_API_v1", "foundation", ["special", "bessel_y", a, b, c])
Recorded result · special.bessel_y

Download the example script (ZIP).

Result, preview

{
  "value_real": {
    "shape": [
      2,
      1
    ],
    "dtype": "float64",
    "values": [
      -0.7812128213002889,
      -0.1070324315409375
    ]
  },
  "value_imaginary": {
    "shape": [
      2,
      1
    ],
    "dtype": "float64",
    "values": [
      0.0,
      0.0
    ]
  }
}

special.bessel_i

Access
Foundation selector. Check the Python route and signature.
Arguments
value,parameter,unused
Shape
scalar or numeric array
Units
Depends on the action
Result
structured
gxtxt_api_call("NUMERIC_API_v1", "foundation", ["special", "bessel_i", a, b, c])
Recorded result · special.bessel_i

Download the example script (ZIP).

Result, preview

{
  "value_real": {
    "shape": [
      2,
      1
    ],
    "dtype": "float64",
    "values": [
      0.565159103992485,
      1.5906368546373288
    ]
  },
  "value_imaginary": {
    "shape": [
      2,
      1
    ],
    "dtype": "float64",
    "values": [
      0.0,
      0.0
    ]
  }
}

special.bessel_k

Access
Foundation selector. Check the Python route and signature.
Arguments
value,parameter,unused
Shape
scalar or numeric array
Units
Depends on the action
Result
structured
gxtxt_api_call("NUMERIC_API_v1", "foundation", ["special", "bessel_k", a, b, c])
Recorded result · special.bessel_k

Download the example script (ZIP).

Result, preview

{
  "value_real": {
    "shape": [
      2,
      1
    ],
    "dtype": "float64",
    "values": [
      0.6019072301972346,
      0.13986588181652246
    ]
  },
  "value_imaginary": {
    "shape": [
      2,
      1
    ],
    "dtype": "float64",
    "values": [
      0.0,
      0.0
    ]
  }
}

special.spherical_bessel_j

Access
Foundation selector. Check the Python route and signature.
Arguments
value,parameter,unused
Shape
scalar or numeric array
Units
Depends on the action
Result
structured
gxtxt_api_call("NUMERIC_API_v1", "foundation", ["special", "spherical_bessel_j", a, b, c])
Recorded result · special.spherical_bessel_j

Download the example script (ZIP).

Result, preview

{
  "value_real": {
    "shape": [
      2,
      1
    ],
    "dtype": "float64",
    "values": [
      0.3011686789397571,
      0.43539777497999194
    ]
  },
  "value_imaginary": {
    "shape": [
      2,
      1
    ],
    "dtype": "float64",
    "values": [
      0.0,
      0.0
    ]
  }
}

special.spherical_bessel_y

Access
Foundation selector. Check the Python route and signature.
Arguments
value,parameter,unused
Shape
scalar or numeric array
Units
Depends on the action
Result
structured
gxtxt_api_call("NUMERIC_API_v1", "foundation", ["special", "spherical_bessel_y", a, b, c])
Recorded result · special.spherical_bessel_y

Download the example script (ZIP).

Result, preview

{
  "value_real": {
    "shape": [
      2,
      1
    ],
    "dtype": "float64",
    "values": [
      -1.3817732906760358,
      -0.3506120042760551
    ]
  },
  "value_imaginary": {
    "shape": [
      2,
      1
    ],
    "dtype": "float64",
    "values": [
      0.0,
      0.0
    ]
  }
}

special.airy

Access
Foundation selector. Check the Python route and signature.
Arguments
value,parameter,unused
Shape
scalar or numeric array
Units
Depends on the action
Result
structured
gxtxt_api_call("NUMERIC_API_v1", "foundation", ["special", "airy", a, b, c])
Recorded result · special.airy

Download the example script (ZIP).

Result, preview

{
  "value_real": {
    "shape": [
      2,
      1
    ],
    "dtype": "float64",
    "values": [
      0.13529241631288147,
      0.03492413042327323
    ]
  },
  "value_imaginary": {
    "shape": [
      2,
      1
    ],
    "dtype": "float64",
    "values": [
      0.0,
      0.0
    ]
  }
}

special.exponential_integral

Access
Foundation selector. Check the Python route and signature.
Arguments
value,parameter,unused
Shape
scalar or numeric array
Units
Depends on the action
Result
structured
gxtxt_api_call("NUMERIC_API_v1", "foundation", ["special", "exponential_integral", a, b, c])
Recorded result · special.exponential_integral

Download the example script (ZIP).

Result, preview

{
  "value_real": {
    "shape": [
      2,
      1
    ],
    "dtype": "float64",
    "values": [
      0.2193839343955205,
      0.048900510708061104
    ]
  },
  "value_imaginary": {
    "shape": [
      2,
      1
    ],
    "dtype": "float64",
    "values": [
      0.0,
      0.0
    ]
  }
}

special.sinc

Access
Foundation selector. Check the Python route and signature.
Arguments
value,parameter,unused
Shape
scalar or numeric array
Units
Depends on the action
Result
structured
gxtxt_api_call("NUMERIC_API_v1", "foundation", ["special", "sinc", a, b, c])
Recorded result · special.sinc

Download the example script (ZIP).

Result, preview

{
  "value_real": {
    "shape": [
      2,
      1
    ],
    "dtype": "float64",
    "values": [
      3.8981718325193755e-17,
      -3.8981718325193755e-17
    ]
  },
  "value_imaginary": {
    "shape": [
      2,
      1
    ],
    "dtype": "float64",
    "values": [
      0.0,
      0.0
    ]
  }
}

geometry.plane_frame

Access
Foundation selector. Check the Python route and signature.
Arguments
first,second,third
Shape
geometric points, meshes or files
Units
Depends on the action
Result
structured
gxtxt_api_call("NUMERIC_API_v1", "foundation", ["geometry", "plane_frame", a, b, c])
Recorded result · geometry.plane_frame

Download the example script (ZIP).

Result, preview

{
  "origin": {
    "shape": [
      1,
      3
    ],
    "dtype": "float64",
    "values": [
      0.0,
      0.0,
      0.0
    ]
  },
  "normal": {
    "shape": [
      1,
      3
    ],
    "dtype": "float64",
    "values": [
      0.0,
      0.0,
      1.0
    ]
  },
  "u_axis": {
    "shape": [
      1,
      3
    ],
    "dtype": "float64",
    "values": [
      1.0,
      0.0,
      0.0
    ]
  },
  "v_axis": {
    "shape": [
      1,
      3
    ],
    "dtype": "float64",
    "values": [
      0.0,
      1.0,
      0.0
    ]
  }
}

geometry.plane_three_points

Access
Foundation selector. Check the Python route and signature.
Arguments
first,second,third
Shape
geometric points, meshes or files
Units
Depends on the action
Result
structured
gxtxt_api_call("NUMERIC_API_v1", "foundation", ["geometry", "plane_three_points", a, b, c])
Recorded result · geometry.plane_three_points

Download the example script (ZIP).

Result, preview

{
  "origin": {
    "shape": [
      1,
      3
    ],
    "dtype": "float64",
    "values": [
      0.0,
      0.0,
      0.0
    ]
  },
  "normal": {
    "shape": [
      1,
      3
    ],
    "dtype": "float64",
    "values": [
      0.0,
      0.0,
      1.0
    ]
  },
  "u_axis": {
    "shape": [
      1,
      3
    ],
    "dtype": "float64",
    "values": [
      1.0,
      0.0,
      0.0
    ]
  },
  "v_axis": {
    "shape": [
      1,
      3
    ],
    "dtype": "float64",
    "values": [
      0.0,
      1.0,
      0.0
    ]
  }
}

geometry.centroid

Access
Foundation selector. Check the Python route and signature.
Arguments
first,second,third
Shape
geometric points, meshes or files
Units
Depends on the action
Result
structured
gxtxt_api_call("NUMERIC_API_v1", "foundation", ["geometry", "centroid", a, b, c])
Recorded result · geometry.centroid

Download the example script (ZIP).

Result, preview

{
  "centroid": {
    "shape": [
      1,
      3
    ],
    "dtype": "float64",
    "values": [
      0.25,
      0.25,
      0.25
    ]
  }
}

geometry.plane_offset

Access
Foundation selector. Check the Python route and signature.
Arguments
first,second,third
Shape
geometric points, meshes or files
Units
Depends on the action
Result
structured
gxtxt_api_call("NUMERIC_API_v1", "foundation", ["geometry", "plane_offset", a, b, c])
Recorded result · geometry.plane_offset

Download the example script (ZIP).

Result, preview

{
  "origin": {
    "shape": [
      1,
      3
    ],
    "dtype": "float64",
    "values": [
      0.0,
      0.0,
      0.5
    ]
  },
  "normal": {
    "shape": [
      1,
      3
    ],
    "dtype": "float64",
    "values": [
      0.0,
      0.0,
      1.0
    ]
  },
  "u_axis": {
    "shape": [
      1,
      3
    ],
    "dtype": "float64",
    "values": [
      1.0,
      0.0,
      0.0
    ]
  },
  "v_axis": {
    "shape": [
      1,
      3
    ],
    "dtype": "float64",
    "values": [
      0.0,
      1.0,
      0.0
    ]
  }
}

geometry.plane_flip

Access
Foundation selector. Check the Python route and signature.
Arguments
first,second,third
Shape
geometric points, meshes or files
Units
Depends on the action
Result
structured
gxtxt_api_call("NUMERIC_API_v1", "foundation", ["geometry", "plane_flip", a, b, c])
Recorded result · geometry.plane_flip

Download the example script (ZIP).

Result, preview

{
  "origin": {
    "shape": [
      1,
      3
    ],
    "dtype": "float64",
    "values": [
      0.0,
      0.0,
      0.0
    ]
  },
  "normal": {
    "shape": [
      1,
      3
    ],
    "dtype": "float64",
    "values": [
      -0.0,
      -0.0,
      -1.0
    ]
  },
  "u_axis": {
    "shape": [
      1,
      3
    ],
    "dtype": "float64",
    "values": [
      1.0,
      0.0,
      0.0
    ]
  },
  "v_axis": {
    "shape": [
      1,
      3
    ],
    "dtype": "float64",
    "values": [
      0.0,
      -1.0,
      0.0
    ]
  }
}

geometry.plane_orient

Access
Foundation selector. Check the Python route and signature.
Arguments
first,second,third
Shape
geometric points, meshes or files
Units
Depends on the action
Result
structured
gxtxt_api_call("NUMERIC_API_v1", "foundation", ["geometry", "plane_orient", a, b, c])
Recorded result · geometry.plane_orient

Download the example script (ZIP).

Result, preview

{
  "origin": {
    "shape": [
      1,
      3
    ],
    "dtype": "float64",
    "values": [
      0.0,
      0.0,
      0.0
    ]
  },
  "normal": {
    "shape": [
      1,
      3
    ],
    "dtype": "float64",
    "values": [
      0.8775825618903728,
      0.0,
      0.479425538604203
    ]
  },
  "u_axis": {
    "shape": [
      1,
      3
    ],
    "dtype": "float64",
    "values": [
      -0.0,
      1.0,
      0.0
    ]
  },
  "v_axis": {
    "shape": [
      1,
      3
    ],
    "dtype": "float64",
    "values": [
      -0.479425538604203,
      -0.0,
      0.8775825618903728
    ]
  }
}

geometry.trajectory_tangent

Access
Foundation selector. Check the Python route and signature.
Arguments
first,second,third
Shape
geometric points, meshes or files
Units
Depends on the action
Result
structured
gxtxt_api_call("NUMERIC_API_v1", "foundation", ["geometry", "trajectory_tangent", a, b, c])
Recorded result · geometry.trajectory_tangent

Download the example script (ZIP).

Result, preview

{
  "point": {
    "shape": [
      1,
      3
    ],
    "dtype": "float64",
    "values": [
      1.0,
      0.0,
      0.0
    ]
  },
  "tangent": {
    "shape": [
      1,
      3
    ],
    "dtype": "float64",
    "values": [
      0.0,
      1.0,
      0.0
    ]
  },
  "source_row": 2.0
}

geometry.plane_containing_tangent

Access
Foundation selector. Check the Python route and signature.
Arguments
first,second,third
Shape
geometric points, meshes or files
Units
Depends on the action
Result
structured
gxtxt_api_call("NUMERIC_API_v1", "foundation", ["geometry", "plane_containing_tangent", a, b, c])
Recorded result · geometry.plane_containing_tangent

Download the example script (ZIP).

Result, preview

{
  "origin": {
    "shape": [
      1,
      3
    ],
    "dtype": "float64",
    "values": [
      0.0,
      0.0,
      0.0
    ]
  },
  "normal": {
    "shape": [
      1,
      3
    ],
    "dtype": "float64",
    "values": [
      0.0,
      -0.9553364891256061,
      -0.2955202066613396
    ]
  },
  "u_axis": {
    "shape": [
      1,
      3
    ],
    "dtype": "float64",
    "values": [
      1.0,
      0.0,
      0.0
    ]
  },
  "v_axis": {
    "shape": [
      1,
      3
    ],
    "dtype": "float64",
    "values": [
      0.0,
      -0.2955202066613396,
      0.9553364891256061
    ]
  }
}

geometry.trajectory_plane_intersections

Access
Foundation selector. Check the Python route and signature.
Arguments
first,second,third
Shape
geometric points, meshes or files
Units
Depends on the action
Result
structured
gxtxt_api_call("NUMERIC_API_v1", "foundation", ["geometry", "trajectory_plane_intersections", a, b, c])
Recorded result · geometry.trajectory_plane_intersections

Download the example script (ZIP).

Result, preview

{
  "points": {
    "shape": [
      1,
      3
    ],
    "dtype": "float64",
    "values": [
      0.0,
      0.5,
      0.5
    ]
  },
  "source_row_pairs": {
    "shape": [
      1,
      2
    ],
    "dtype": "float64",
    "values": [
      3.0,
      4.0
    ]
  },
  "fraction": 0.5,
  "status": "intersected"
}

geometry.mesh_section

Access
Foundation selector. Check the Python route and signature.
Arguments
first,second,third
Shape
geometric points, meshes or files
Units
Depends on the action
Result
structured
gxtxt_api_call("NUMERIC_API_v1", "foundation", ["geometry", "mesh_section", a, b, c])
Recorded result · geometry.mesh_section

Download the example script (ZIP).

Result, preview

{
  "segments": {
    "shape": [
      3,
      6
    ],
    "dtype": "float64",
    "values": [
      0.5,
      0.0,
      0.0,
      0.0,
      0.0,
      0.5,
      0.5,
      0.5,
      0.5,
      0.0
    ]
  },
  "source_triangle_index": {
    "shape": [
      3,
      1
    ],
    "dtype": "float64",
    "values": [
      2.0,
      3.0,
      4.0
    ]
  },
  "status": "intersected"
}
Negative test or attempted call · geometry.mesh_section:file-guard

Download the example script (ZIP).

Result, preview

"GXTXT:Numeric:HostPathRequired: geometry.mesh_section file-path facet requires host ownership; typed mesh arrays remain available"

geometry.frame_transform

Access
Foundation selector. Check the Python route and signature.
Arguments
first,second,third
Shape
geometric points, meshes or files
Units
Depends on the action
Result
structured
gxtxt_api_call("NUMERIC_API_v1", "foundation", ["geometry", "frame_transform", a, b, c])
Recorded result · geometry.frame_transform

Download the example script (ZIP).

Result, preview

{
  "value_real": {
    "shape": [
      4,
      3
    ],
    "dtype": "float64",
    "values": [
      0.0,
      1.0,
      0.0,
      0.0,
      0.0,
      0.0,
      1.0,
      0.0,
      0.0,
      0.0
    ]
  },
  "value_imaginary": {
    "shape": [
      4,
      3
    ],
    "dtype": "float64",
    "values": [
      0.0,
      0.0,
      0.0,
      0.0,
      0.0,
      0.0,
      0.0,
      0.0,
      0.0,
      0.0
    ]
  }
}

geometry.nearest

Access
Foundation selector. Check the Python route and signature.
Arguments
first,second,third
Shape
geometric points, meshes or files
Units
Depends on the action
Result
structured
gxtxt_api_call("NUMERIC_API_v1", "foundation", ["geometry", "nearest", a, b, c])
Recorded result · geometry.nearest

Download the example script (ZIP).

Result, preview

{
  "index": 1.0,
  "distance": 0.4636809247747852
}

geometry.kdtree_query

Access
Foundation selector. Check the Python route and signature.
Arguments
first,second,third
Shape
geometric points, meshes or files
Units
Depends on the action
Result
structured
gxtxt_api_call("NUMERIC_API_v1", "foundation", ["geometry", "kdtree_query", a, b, c])
Recorded result · geometry.kdtree_query

Download the example script (ZIP).

Result, preview

{
  "index": 1.0,
  "distance": 0.4636809247747852
}

geometry.point_segment_distance

Access
Foundation selector. Check the Python route and signature.
Arguments
first,second,third
Shape
geometric points, meshes or files
Units
Depends on the action
Result
structured
gxtxt_api_call("NUMERIC_API_v1", "foundation", ["geometry", "point_segment_distance", a, b, c])
Recorded result · geometry.point_segment_distance

Download the example script (ZIP).

Result, preview

{
  "distance": 0.3905124837953327,
  "fraction": 0.25,
  "closest": {
    "shape": [
      1,
      3
    ],
    "dtype": "float64",
    "values": [
      0.25,
      0.0,
      0.0
    ]
  }
}

geometry.triangle_area

Access
Foundation selector. Check the Python route and signature.
Arguments
first,second,third
Shape
geometric points, meshes or files
Units
Depends on the action
Result
structured
gxtxt_api_call("NUMERIC_API_v1", "foundation", ["geometry", "triangle_area", a, b, c])
Recorded result · geometry.triangle_area

Download the example script (ZIP).

Result, preview

{
  "area": 0.5
}

geometry.tetrahedron_volume

Access
Foundation selector. Check the Python route and signature.
Arguments
first,second,third
Shape
geometric points, meshes or files
Units
Depends on the action
Result
structured
gxtxt_api_call("NUMERIC_API_v1", "foundation", ["geometry", "tetrahedron_volume", a, b, c])
Recorded result · geometry.tetrahedron_volume

Download the example script (ZIP).

Result, preview

{
  "volume": 0.16666666666666666
}

geometry.barycentric

Access
Foundation selector. Check the Python route and signature.
Arguments
first,second,third
Shape
geometric points, meshes or files
Units
Depends on the action
Result
structured
gxtxt_api_call("NUMERIC_API_v1", "foundation", ["geometry", "barycentric", a, b, c])
Recorded result · geometry.barycentric

Download the example script (ZIP).

Result, preview

{
  "weights": {
    "shape": [
      1,
      3
    ],
    "dtype": "float64",
    "values": [
      0.5,
      0.25,
      0.25
    ]
  },
  "plane_distance": 0.3
}

geometry.plane_fit

Access
Foundation selector. Check the Python route and signature.
Arguments
first,second,third
Shape
geometric points, meshes or files
Units
Depends on the action
Result
structured
gxtxt_api_call("NUMERIC_API_v1", "foundation", ["geometry", "plane_fit", a, b, c])
Recorded result · geometry.plane_fit

Download the example script (ZIP).

Result, preview

{
  "origin": {
    "shape": [
      1,
      3
    ],
    "dtype": "float64",
    "values": [
      0.3333333333333333,
      0.3333333333333333,
      0.0
    ]
  },
  "normal": {
    "shape": [
      1,
      3
    ],
    "dtype": "float64",
    "values": [
      0.0,
      0.0,
      1.0
    ]
  },
  "rms_distance": 0.0
}

geometry.line_fit

Access
Foundation selector. Check the Python route and signature.
Arguments
first,second,third
Shape
geometric points, meshes or files
Units
Depends on the action
Result
structured
gxtxt_api_call("NUMERIC_API_v1", "foundation", ["geometry", "line_fit", a, b, c])
Recorded result · geometry.line_fit

Download the example script (ZIP).

Result, preview

{
  "origin": {
    "shape": [
      1,
      3
    ],
    "dtype": "float64",
    "values": [
      0.25,
      0.25,
      0.25
    ]
  },
  "direction": {
    "shape": [
      1,
      3
    ],
    "dtype": "float64",
    "values": [
      0.8164965809277261,
      -0.408248290463863,
      -0.408248290463863
    ]
  },
  "rms_distance": 0.5590169943749475
}

geometry.rigid_transform

Access
Foundation selector. Check the Python route and signature.
Arguments
first,second,third
Shape
geometric points, meshes or files
Units
Depends on the action
Result
structured
gxtxt_api_call("NUMERIC_API_v1", "foundation", ["geometry", "rigid_transform", a, b, c])
Recorded result · geometry.rigid_transform

Download the example script (ZIP).

Result, preview

{
  "rotation": {
    "shape": [
      3,
      3
    ],
    "dtype": "float64",
    "values": [
      -8.394166253130549e-17,
      1.8185854097942862e-16,
      1.0,
      0.9999999999999999,
      -1.7314076453848807e-16,
      -9.02930059780819e-17,
      5.445857539406315e-18,
      1.0,
      -2.568264596718554e-16
    ]
  },
  "translation": {
    "shape": [
      1,
      3
    ],
    "dtype": "float64",
    "values": [
      2.0,
      3.0,
      4.0
    ]
  },
  "rms_residual": 0.7071067811865476
}

geometry.mesh_surface_area

Access
Foundation selector. Check the Python route and signature.
Arguments
first,second,third
Shape
geometric points, meshes or files
Units
Depends on the action
Result
structured
gxtxt_api_call("NUMERIC_API_v1", "foundation", ["geometry", "mesh_surface_area", a, b, c])
Recorded result · geometry.mesh_surface_area

Download the example script (ZIP).

Result, preview

{
  "area": 2.3660254037844384
}

geometry.mesh_volume

Access
Foundation selector. Check the Python route and signature.
Arguments
first,second,third
Shape
geometric points, meshes or files
Units
Depends on the action
Result
structured
gxtxt_api_call("NUMERIC_API_v1", "foundation", ["geometry", "mesh_volume", a, b, c])
Recorded result · geometry.mesh_volume

Download the example script (ZIP).

Result, preview

{
  "signed_volume": 0.16666666666666666,
  "volume": 0.16666666666666666
}

geometry.point_triangle_distance

Access
Foundation selector. Check the Python route and signature.
Arguments
first,second,third
Shape
geometric points, meshes or files
Units
Depends on the action
Result
structured
gxtxt_api_call("NUMERIC_API_v1", "foundation", ["geometry", "point_triangle_distance", a, b, c])
Recorded result · geometry.point_triangle_distance

Download the example script (ZIP).

Result, preview

{
  "distance": 0.11547005383792514,
  "triangle_index": 4.0
}

geometry.point_mesh_distance

Access
Foundation selector. Check the Python route and signature.
Arguments
first,second,third
Shape
geometric points, meshes or files
Units
Depends on the action
Result
structured
gxtxt_api_call("NUMERIC_API_v1", "foundation", ["geometry", "point_mesh_distance", a, b, c])
Recorded result · geometry.point_mesh_distance

Download the example script (ZIP).

Result, preview

{
  "distance": 0.11547005383792514,
  "triangle_index": 4.0
}

geometry.delaunay

Access
Foundation selector. Check the Python route and signature.
Arguments
first,second,third
Shape
geometric points, meshes or files
Units
Depends on the action
Result
structured
gxtxt_api_call("NUMERIC_API_v1", "foundation", ["geometry", "delaunay", a, b, c])
Recorded result · geometry.delaunay

Download the example script (ZIP).

Result, preview

{
  "simplices": {
    "shape": [
      4,
      3
    ],
    "dtype": "float64",
    "values": [
      5.0,
      5.0,
      4.0,
      4.0,
      1.0,
      3.0,
      5.0,
      3.0,
      2.0,
      1.0
    ]
  }
}

geometry.voronoi

Access
Foundation selector. Check the Python route and signature.
Arguments
first,second,third
Shape
geometric points, meshes or files
Units
Depends on the action
Result
structured
gxtxt_api_call("NUMERIC_API_v1", "foundation", ["geometry", "voronoi", a, b, c])
Recorded result · geometry.voronoi

Download the example script (ZIP).

Result, preview

{
  "vertices": {
    "shape": [
      5,
      2
    ],
    "dtype": "float64",
    "values": [
      Infinity,
      1.0,
      1.8636363636363638,
      1.0,
      -0.05555555555555547,
      Infinity,
      1.7307692307692306,
      1.0,
      -0.35714285714285743,
      0.9999999999999999
    ]
  },
  "cells": [
    {
      "shape": [
        1,
        3
      ],
      "dtype": "float64",
      "values": [
        5.0,
        4.0,
        1.0
      ]
    },
    {
      "shape": [
        1,
        3
      ],
      "dtype": "float64",
      "values": [
        4.0,
        3.0,
        1.0
      ]
    },
    {
      "shape": [
        1,
        3
      ],
      "dtype": "float64",
      "values": [
        5.0,
        2.0,
        1.0
      ]
    },
    {
      "shape": [
        1,
        3
      ],
      "dtype": "float64",
      "values": [
        2.0,
        3.0,
        1.0
      ]
    },
    {
      "shape": [
        1,
        4
      ],
      "dtype": "float64",
      "values": [
        2.0,
        3.0,
        4.0,
        5.0
      ]
    },
    {
      "shape": [
        0,
        0
      ],
      "dtype": "float64",
      "values": []
    }
  ]
}

geometry.orientation2d

Access
Foundation selector. Check the Python route and signature.
Arguments
first,second,third
Shape
geometric points, meshes or files
Units
Depends on the action
Result
structured
gxtxt_api_call("NUMERIC_API_v1", "foundation", ["geometry", "orientation2d", a, b, c])
Recorded result · geometry.orientation2d

Download the example script (ZIP).

Result, preview

{
  "signed_area_twice": 1.0,
  "sign": 1.0
}

geometry.orientation3d

Access
Foundation selector. Check the Python route and signature.
Arguments
first,second,third
Shape
geometric points, meshes or files
Units
Depends on the action
Result
structured
gxtxt_api_call("NUMERIC_API_v1", "foundation", ["geometry", "orientation3d", a, b, c])
Recorded result · geometry.orientation3d

Download the example script (ZIP).

Result, preview

{
  "signed_volume_sixfold": 1.0,
  "sign": 1.0
}

geometry.mesh_smooth

Access
Foundation selector. Check the Python route and signature.
Arguments
first,second,third
Shape
geometric points, meshes or files
Units
Depends on the action
Result
structured
gxtxt_api_call("NUMERIC_API_v1", "foundation", ["geometry", "mesh_smooth", a, b, c])
Negative test or attempted call · geometry.mesh_smooth:file-guard

Download the example script (ZIP).

Result, preview

"GXTXT:Numeric:HostPathRequired: geometry.mesh_smooth requires host-owned geometry paths and process authority"

geometry.mesh_remesh

Access
Foundation selector. Check the Python route and signature.
Arguments
first,second,third
Shape
geometric points, meshes or files
Units
Depends on the action
Result
structured
gxtxt_api_call("NUMERIC_API_v1", "foundation", ["geometry", "mesh_remesh", a, b, c])
Negative test or attempted call · geometry.mesh_remesh:file-guard

Download the example script (ZIP).

Result, preview

"GXTXT:Numeric:HostPathRequired: geometry.mesh_remesh requires host-owned geometry paths and process authority"

geometry.mesh_boolean

Access
Foundation selector. Check the Python route and signature.
Arguments
first,second,third
Shape
geometric points, meshes or files
Units
Depends on the action
Result
structured
gxtxt_api_call("NUMERIC_API_v1", "foundation", ["geometry", "mesh_boolean", a, b, c])
Negative test or attempted call · geometry.mesh_boolean:file-guard

Download the example script (ZIP).

Result, preview

"GXTXT:Numeric:HostPathRequired: geometry.mesh_boolean requires host-owned geometry paths and process authority"

geometry.volume_slice

Access
Foundation selector. Check the Python route and signature.
Arguments
first,second,third
Shape
geometric points, meshes or files
Units
Depends on the action
Result
structured
gxtxt_api_call("NUMERIC_API_v1", "foundation", ["geometry", "volume_slice", a, b, c])
Negative test or attempted call · geometry.volume_slice:file-guard

Download the example script (ZIP).

Result, preview

"GXTXT:Numeric:HostPathRequired: geometry.volume_slice requires host-owned geometry paths and process authority"

sparse.construct

Access
Foundation selector. Check the Python route and signature.
Arguments
sparse_matrix,other,unused
Shape
sparse matrix and numeric array
Units
Depends on the action
Result
structured
gxtxt_api_call("NUMERIC_API_v1", "foundation", ["sparse", "construct", a, b, c])
Recorded result · sparse.construct

Download the example script (ZIP).

Result, preview

{
  "row": {
    "shape": [
      3,
      1
    ],
    "dtype": "float64",
    "values": [
      1.0,
      2.0,
      3.0
    ]
  },
  "column": {
    "shape": [
      3,
      1
    ],
    "dtype": "float64",
    "values": [
      1.0,
      2.0,
      3.0
    ]
  },
  "value_real": {
    "shape": [
      3,
      1
    ],
    "dtype": "float64",
    "values": [
      5.0,
      3.0,
      4.0
    ]
  },
  "value_imaginary": {
    "shape": [
      3,
      1
    ],
    "dtype": "float64",
    "values": [
      0.0,
      0.0,
      0.0
    ]
  },
  "nonzeros": 3.0,
  "shape": {
    "shape": [
      1,
      2
    ],
    "dtype": "float64",
    "values": [
      3.0,
      3.0
    ]
  }
}

sparse.matvec

Access
Foundation selector. Check the Python route and signature.
Arguments
sparse_matrix,other,unused
Shape
sparse matrix and numeric array
Units
Depends on the action
Result
structured
gxtxt_api_call("NUMERIC_API_v1", "foundation", ["sparse", "matvec", a, b, c])
Recorded result · sparse.matvec

Download the example script (ZIP).

Result, preview

{
  "value_real": {
    "shape": [
      3,
      1
    ],
    "dtype": "float64",
    "values": [
      0.0,
      3.0,
      8.0
    ]
  },
  "value_imaginary": {
    "shape": [
      3,
      1
    ],
    "dtype": "float64",
    "values": [
      0.0,
      0.0,
      0.0
    ]
  }
}

sparse.solve

Access
Foundation selector. Check the Python route and signature.
Arguments
sparse_matrix,other,unused
Shape
sparse matrix and numeric array
Units
Depends on the action
Result
structured
gxtxt_api_call("NUMERIC_API_v1", "foundation", ["sparse", "solve", a, b, c])
Recorded result · sparse.solve

Download the example script (ZIP).

Result, preview

{
  "value_real": {
    "shape": [
      3,
      1
    ],
    "dtype": "float64",
    "values": [
      0.0,
      0.3333333333333333,
      0.5
    ]
  },
  "value_imaginary": {
    "shape": [
      3,
      1
    ],
    "dtype": "float64",
    "values": [
      0.0,
      0.0,
      0.0
    ]
  },
  "residual_norm": 0.0
}

sparse.least_squares

Access
Foundation selector. Check the Python route and signature.
Arguments
sparse_matrix,other,unused
Shape
sparse matrix and numeric array
Units
Depends on the action
Result
structured
gxtxt_api_call("NUMERIC_API_v1", "foundation", ["sparse", "least_squares", a, b, c])
Recorded result · sparse.least_squares

Download the example script (ZIP).

Result, preview

{
  "value_real": {
    "shape": [
      3,
      1
    ],
    "dtype": "float64",
    "values": [
      0.0,
      0.3333333333333333,
      0.5
    ]
  },
  "value_imaginary": {
    "shape": [
      3,
      1
    ],
    "dtype": "float64",
    "values": [
      0.0,
      0.0,
      0.0
    ]
  },
  "residual_norm": 0.0
}

sparse.eigen_subset

Access
Foundation selector. Check the Python route and signature.
Arguments
sparse_matrix,other,unused
Shape
sparse matrix and numeric array
Units
Depends on the action
Result
structured
gxtxt_api_call("NUMERIC_API_v1", "foundation", ["sparse", "eigen_subset", a, b, c])
Recorded result · sparse.eigen_subset

Download the example script (ZIP).

Result, preview

{
  "eigenvalues_real": 4.999999999999999,
  "eigenvalues_imaginary": 0.0,
  "eigenvectors_real": {
    "shape": [
      3,
      1
    ],
    "dtype": "float64",
    "values": [
      -1.0,
      5.551115123125783e-17,
      1.1102230246251565e-16
    ]
  },
  "eigenvectors_imaginary": {
    "shape": [
      3,
      1
    ],
    "dtype": "float64",
    "values": [
      0.0,
      0.0,
      0.0
    ]
  }
}

equations.solve

Access
Foundation selector. Check the Python route and signature.
Arguments
residual,initial,parameters
Shape
execution-scoped callback and numeric array
Units
Depends on the action
Result
structured
gxtxt_api_call("NUMERIC_API_v1", "foundation", ["equations", "solve", a, b, c])
Recorded result · model:foundation.equations.solve

Download the example script (ZIP).

Example operands, preview

[
  "foundation.equations.solve",
  {
    "kind": "struct",
    "fields": {
      "kind": {
        "kind": "text",
        "value": "linear_system"
      },
      "matrix": {
        "kind": "array",
        "shape": [
          2,
          2
        ],
        "real": [
          1.0,
          0.0,
          0.0,
          1.0
        ]
      },
      "target": {
        "kind": "array",
        "shape": [
          2,
          1
        ],
        "real": [
          2.0,
          3.0
        ]
      }
    }
  },
  [
    {
      "kind": "array",
      "shape": [
        2,
        1
      ],
      "real": [
        0.0,
        0.0
      ]
    },
    {
      "kind": "empty"
    }
  ]
]

Result, preview

{
  "solutions": [
    {
      "shape": [
        2,
        1
      ],
      "dtype": "float64",
      "values": [
        2.0,
        3.0
      ]
    }
  ],
  "residual_norm": 0.0,
  "status": 1.0,
  "converged": true
}
Negative test or attempted call · equations.solve:callback-boundary

Download the example script (ZIP).

Result, preview

"GXTXT:Numeric:CallbackRequired: equations.solve requires the original in-process Octave function handle or its admitted typed model declaration"

equations.multiple_start

Access
Foundation selector. Check the Python route and signature.
Arguments
residual,initial,parameters
Shape
execution-scoped callback and numeric array
Units
Depends on the action
Result
structured
gxtxt_api_call("NUMERIC_API_v1", "foundation", ["equations", "multiple_start", a, b, c])
Recorded result · model:foundation.equations.multiple_start

Download the example script (ZIP).

Example operands, preview

[
  "foundation.equations.multiple_start",
  {
    "kind": "struct",
    "fields": {
      "kind": {
        "kind": "text",
        "value": "linear_system"
      },
      "matrix": {
        "kind": "array",
        "shape": [
          2,
          2
        ],
        "real": [
          1.0,
          0.0,
          0.0,
          1.0
        ]
      },
      "target": {
        "kind": "array",
        "shape": [
          2,
          1
        ],
        "real": [
          2.0,
          3.0
        ]
      }
    }
  },
  [
    {
      "kind": "array",
      "shape": [
        2,
        2
      ],
      "real": [
        0.0,
        1.0,
        0.0,
        1.0
      ]
    },
    {
      "kind": "empty"
    }
  ]
]

Result, preview

{
  "solutions": [
    {
      "shape": [
        2,
        1
      ],
      "dtype": "float64",
      "values": [
        2.0,
        3.0
      ]
    },
    {
      "shape": [
        2,
        1
      ],
      "dtype": "float64",
      "values": [
        2.0,
        3.0
      ]
    }
  ],
  "residual_norm": {
    "shape": [
      2,
      1
    ],
    "dtype": "float64",
    "values": [
      0.0,
      0.0
    ]
  },
  "status": {
    "shape": [
      2,
      1
    ],
    "dtype": "float64",
    "values": [
      1.0,
      1.0
    ]
  },
  "converged": {
    "shape": [
      2,
      1
    ],
    "dtype": "float64",
    "values": [
      1.0,
      1.0
    ]
  }
}
Negative test or attempted call · equations.multiple_start:callback-boundary

Download the example script (ZIP).

Result, preview

"GXTXT:Numeric:CallbackRequired: equations.multiple_start requires the original in-process Octave function handle or its admitted typed model declaration"

equations.continuation

Access
Foundation selector. Check the Python route and signature.
Arguments
residual,initial,parameters
Shape
execution-scoped callback and numeric array
Units
Depends on the action
Result
structured
gxtxt_api_call("NUMERIC_API_v1", "foundation", ["equations", "continuation", a, b, c])
Recorded result · model:foundation.equations.continuation

Download the example script (ZIP).

Example operands, preview

[
  "foundation.equations.continuation",
  {
    "kind": "struct",
    "fields": {
      "kind": {
        "kind": "text",
        "value": "linear_system"
      },
      "matrix": {
        "kind": "array",
        "shape": [
          2,
          2
        ],
        "real": [
          1.0,
          0.0,
          0.0,
          1.0
        ]
      },
      "target": {
        "kind": "array",
        "shape": [
          2,
          1
        ],
        "real": [
          2.0,
          3.0
        ]
      }
    }
  },
  [
    {
      "kind": "array",
      "shape": [
        2,
        1
      ],
      "real": [
        0.0,
        0.0
      ]
    },
    {
      "kind": "array",
      "shape": [
        3,
        1
      ],
      "real": [
        0.0,
        0.5,
        1.0
      ]
    }
  ]
]

Result, preview

{
  "parameters": {
    "shape": [
      3,
      1
    ],
    "dtype": "float64",
    "values": [
      0.0,
      0.5,
      1.0
    ]
  },
  "solutions": {
    "shape": [
      2,
      3
    ],
    "dtype": "float64",
    "values": [
      0.0,
      0.0,
      1.0,
      1.5,
      2.0,
      3.0
    ]
  },
  "residual_norm": {
    "shape": [
      3,
      1
    ],
    "dtype": "float64",
    "values": [
      0.0,
      0.0,
      0.0
    ]
  },
  "status": {
    "shape": [
      3,
      1
    ],
    "dtype": "float64",
    "values": [
      1.0,
      1.0,
      1.0
    ]
  },
  "converged": {
    "shape": [
      3,
      1
    ],
    "dtype": "float64",
    "values": [
      1.0,
      1.0,
      1.0
    ]
  }
}
Negative test or attempted call · equations.continuation:callback-boundary

Download the example script (ZIP).

Result, preview

"GXTXT:Numeric:CallbackRequired: equations.continuation requires the original in-process Octave function handle or its admitted typed model declaration"

variational.action

Access
Foundation selector. Check the Python route and signature.
Arguments
functional,values,extra
Shape
numeric arrays or execution-scoped callback
Units
Depends on the action
Result
structured
gxtxt_api_call("NUMERIC_API_v1", "foundation", ["variational", "action", a, b, c])
Recorded result · model:foundation.variational.action

Download the example script (ZIP).

Example operands, preview

[
  "foundation.variational.action",
  {
    "kind": "struct",
    "fields": {
      "kind": {
        "kind": "text",
        "value": "quadratic_lagrangian"
      },
      "mass": {
        "kind": "array",
        "shape": [
          1,
          1
        ],
        "real": [
          1.0
        ]
      },
      "stiffness": {
        "kind": "array",
        "shape": [
          1,
          1
        ],
        "real": [
          1.0
        ]
      }
    }
  },
  [
    {
      "kind": "array",
      "shape": [
        3,
        1
      ],
      "real": [
        0.0,
        1.0,
        2.0
      ]
    },
    {
      "kind": "array",
      "shape": [
        3,
        1
      ],
      "real": [
        1.0,
        0.0,
        -1.0
      ]
    }
  ]
]

Result, preview

{
  "action": 0.5,
  "density": {
    "shape": [
      3,
      1
    ],
    "dtype": "float64",
    "values": [
      0.0,
      0.5,
      0.0
    ]
  },
  "velocity": {
    "shape": [
      3,
      1
    ],
    "dtype": "float64",
    "values": [
      -1.0,
      -1.0,
      -1.0
    ]
  }
}
Negative test or attempted call · variational.action:callback-boundary

Download the example script (ZIP).

Result, preview

"GXTXT:Numeric:CallbackRequired: variational.action requires the original in-process Octave function handle or its admitted typed model declaration"

variational.functional

Access
Foundation selector. Check the Python route and signature.
Arguments
functional,values,extra
Shape
numeric arrays or execution-scoped callback
Units
Depends on the action
Result
structured
gxtxt_api_call("NUMERIC_API_v1", "foundation", ["variational", "functional", a, b, c])
Recorded result · model:foundation.variational.functional

Download the example script (ZIP).

Example operands, preview

[
  "foundation.variational.functional",
  {
    "kind": "struct",
    "fields": {
      "kind": {
        "kind": "text",
        "value": "quadratic_lagrangian"
      },
      "mass": {
        "kind": "array",
        "shape": [
          1,
          1
        ],
        "real": [
          1.0
        ]
      },
      "stiffness": {
        "kind": "array",
        "shape": [
          1,
          1
        ],
        "real": [
          1.0
        ]
      }
    }
  },
  [
    {
      "kind": "array",
      "shape": [
        3,
        1
      ],
      "real": [
        0.0,
        1.0,
        2.0
      ]
    },
    {
      "kind": "array",
      "shape": [
        3,
        1
      ],
      "real": [
        1.0,
        0.0,
        -1.0
      ]
    }
  ]
]

Result, preview

{
  "action": 0.5,
  "density": {
    "shape": [
      3,
      1
    ],
    "dtype": "float64",
    "values": [
      0.0,
      0.5,
      0.0
    ]
  },
  "velocity": {
    "shape": [
      3,
      1
    ],
    "dtype": "float64",
    "values": [
      -1.0,
      -1.0,
      -1.0
    ]
  }
}
Negative test or attempted call · variational.functional:callback-boundary

Download the example script (ZIP).

Result, preview

"GXTXT:Numeric:CallbackRequired: variational.functional requires the original in-process Octave function handle or its admitted typed model declaration"

variational.legendre

Access
Foundation selector. Check the Python route and signature.
Arguments
functional,values,extra
Shape
numeric arrays or execution-scoped callback
Units
Depends on the action
Result
structured
gxtxt_api_call("NUMERIC_API_v1", "foundation", ["variational", "legendre", a, b, c])
Recorded result · model:foundation.variational.legendre

Download the example script (ZIP).

Example operands, preview

[
  "foundation.variational.legendre",
  {
    "kind": "struct",
    "fields": {
      "kind": {
        "kind": "text",
        "value": "quadratic_lagrangian"
      },
      "mass": {
        "kind": "array",
        "shape": [
          1,
          1
        ],
        "real": [
          1.0
        ]
      },
      "stiffness": {
        "kind": "array",
        "shape": [
          1,
          1
        ],
        "real": [
          1.0
        ]
      }
    }
  },
  [
    {
      "kind": "array",
      "shape": [
        1,
        1
      ],
      "real": [
        1.0
      ]
    },
    {
      "kind": "array",
      "shape": [
        1,
        1
      ],
      "real": [
        2.0
      ]
    }
  ]
]

Result, preview

{
  "momentum": 2.0,
  "hamiltonian": 2.5
}
Negative test or attempted call · variational.legendre:callback-boundary

Download the example script (ZIP).

Result, preview

"GXTXT:Numeric:CallbackRequired: variational.legendre requires the original in-process Octave function handle or its admitted typed model declaration"

variational.first_variation

Access
Foundation selector. Check the Python route and signature.
Arguments
functional,values,extra
Shape
numeric arrays or execution-scoped callback
Units
Depends on the action
Result
structured
gxtxt_api_call("NUMERIC_API_v1", "foundation", ["variational", "first_variation", a, b, c])
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 · variational.first_variation:callback-boundary

Download the example script (ZIP).

Result, preview

"GXTXT:Numeric:CallbackRequired: variational.first_variation requires the original in-process Octave function handle or its admitted typed model declaration"

variational.euler_lagrange_residual

Access
Foundation selector. Check the Python route and signature.
Arguments
functional,values,extra
Shape
numeric arrays or execution-scoped callback
Units
Depends on the action
Result
structured
gxtxt_api_call("NUMERIC_API_v1", "foundation", ["variational", "euler_lagrange_residual", a, b, c])
Recorded result · model:foundation.variational.euler_lagrange_residual

Download the example script (ZIP).

Example operands, preview

[
  "foundation.variational.euler_lagrange_residual",
  {
    "kind": "struct",
    "fields": {
      "kind": {
        "kind": "text",
        "value": "quadratic_lagrangian"
      },
      "mass": {
        "kind": "array",
        "shape": [
          1,
          1
        ],
        "real": [
          1.0
        ]
      },
      "stiffness": {
        "kind": "array",
        "shape": [
          1,
          1
        ],
        "real": [
          1.0
        ]
      }
    }
  },
  [
    {
      "kind": "array",
      "shape": [
        3,
        1
      ],
      "real": [
        0.0,
        1.0,
        2.0
      ]
    },
    {
      "kind": "array",
      "shape": [
        3,
        1
      ],
      "real": [
        1.0,
        0.0,
        -1.0
      ]
    }
  ]
]

Result, preview

{
  "residual": {
    "shape": [
      3,
      1
    ],
    "dtype": "float64",
    "values": [
      1.0,
      0.0,
      -1.0
    ]
  },
  "velocity": {
    "shape": [
      3,
      1
    ],
    "dtype": "float64",
    "values": [
      -1.0,
      -1.0,
      -1.0
    ]
  },
  "momentum": {
    "shape": [
      3,
      1
    ],
    "dtype": "float64",
    "values": [
      -1.0,
      -1.0,
      -1.0
    ]
  }
}
Negative test or attempted call · variational.euler_lagrange_residual:callback-boundary

Download the example script (ZIP).

Result, preview

"GXTXT:Numeric:CallbackRequired: variational.euler_lagrange_residual requires the original in-process Octave function handle or its admitted typed model declaration"

variational.constrained

Access
Foundation selector. Check the Python route and signature.
Arguments
functional,values,extra
Shape
numeric arrays or execution-scoped callback
Units
Depends on the action
Result
structured
gxtxt_api_call("NUMERIC_API_v1", "foundation", ["variational", "constrained", a, b, c])
Contract query · model-kinds:foundation.variational.constrained

Download the example script (ZIP).

Example operands, preview

[
  "foundation.variational.constrained"
]

Result, preview

[
  "quadratic_norm"
]
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"

statistics.confidence_interval

Access
Foundation selector. Check the Python route and signature.
Arguments
samples,other,extra
Shape
numeric observations and options
Units
Depends on the action
Result
structured
gxtxt_api_call("NUMERIC_API_v1", "foundation", ["statistics", "confidence_interval", a, b, c])
Recorded result · statistics.confidence_interval

Download the example script (ZIP).

Result, preview

{
  "estimate": 5.333333333333333,
  "lower": 2.0369247419719594,
  "upper": 8.629741924694706,
  "confidence": 0.95,
  "n": 6.0,
  "standard_error": 1.2823589374447564,
  "degrees_of_freedom": 5.0,
  "method": "student_t_mean"
}

statistics.robust_location

Access
Foundation selector. Check the Python route and signature.
Arguments
samples,other,extra
Shape
numeric observations and options
Units
Depends on the action
Result
structured
gxtxt_api_call("NUMERIC_API_v1", "foundation", ["statistics", "robust_location", a, b, c])
Recorded result · statistics.robust_location

Download the example script (ZIP).

Result, preview

{
  "location": 5.333333333333333,
  "scale": 3.7064999999999997,
  "iterations": 2.0,
  "method": "Huber",
  "n": 6.0,
  "huber_constant": 1.345,
  "converged": true,
  "scale_method": "initial_median_MAD_1.4826_with_absolute_eps_floor"
}

statistics.robust_regression

Access
Foundation selector. Check the Python route and signature.
Arguments
samples,other,extra
Shape
design matrix and response; optional positive Huber constant
Units
Depends on the action
Result
structured
gxtxt_api_call("NUMERIC_API_v1", "foundation", ["statistics", "robust_regression", a, b, c])
Recorded result · statistics.robust_regression

Download the example script (ZIP).

Result, preview

{
  "coefficients": {
    "shape": [
      2,
      1
    ],
    "dtype": "float64",
    "values": [
      1.1684433677025965,
      1.65053301031078
    ]
  },
  "residual": {
    "shape": [
      6,
      1
    ],
    "dtype": "float64",
    "values": [
      -0.1684433677025965,
      0.1810236219866237,
      -0.46950938832415634,
      0.8799576013650636,
      0.2294245910542836,
      -0.4211084192564982
    ]
  },
  "iterations": 12.0,
  "method": "Huber IRLS",
  "coefficients_real": {
    "shape": [
      2,
      1
    ],
    "dtype": "float64",
    "values": [
      1.1684433677025965,
      1.65053301031078
    ]
  },
  "coefficients_imaginary": {
    "shape": [
      2,
      1
    ],
    "dtype": "float64",
    "values": [
      0.0,
      0.0
    ]
  },
  "residual_real": {
    "shape": [
      6,
      1
    ],
    "dtype": "float64",
    "values": [
      -0.1684433677025965,
      0.1810236219866237,
      -0.46950938832415634,
      0.8799576013650636,
      0.2294245910542836,
      -0.4211084192564982
    ]
  },
  "residual_imaginary": {
    "shape": [
      6,
      1
    ],
    "dtype": "float64",
    "values": [
      0.0,
      0.0,
      0.0,
      0.0,
      0.0,
      0.0
    ]
  },
  "n": 6.0,
  "p": 2.0,
  "input_kind": "real",
  "converged": true,
  "huber_constant": 1.345,
  "last_scale": 0.48224012055796955,
  "last_update_norm": 6.849122068312262e-11,
  "last_threshold": 2.0222559486553683e-10,
  "tolerance": 1e-10,
  "iteration_limit": 100.0
}

statistics.covariance_diagnostics

Access
Foundation selector. Check the Python route and signature.
Arguments
samples,other,extra
Shape
real or complex observations by rows; a vector is one variable
Units
Depends on the action
Result
structured
gxtxt_api_call("NUMERIC_API_v1", "foundation", ["statistics", "covariance_diagnostics", a, b, c])
Recorded result · statistics.covariance_diagnostics

Download the example script (ZIP).

Result, preview

{
  "covariance": {
    "shape": [
      2,
      2
    ],
    "dtype": "float64",
    "values": [
      0.0,
      0.0,
      0.0,
      3.5
    ]
  },
  "eigenvalues": {
    "shape": [
      2,
      1
    ],
    "dtype": "float64",
    "values": [
      0.0,
      3.5
    ]
  },
  "condition_number": Infinity,
  "rank": 1.0,
  "covariance_real": {
    "shape": [
      2,
      2
    ],
    "dtype": "float64",
    "values": [
      0.0,
      0.0,
      0.0,
      3.5
    ]
  },
  "covariance_imaginary": {
    "shape": [
      2,
      2
    ],
    "dtype": "float64",
    "values": [
      0.0,
      0.0,
      0.0,
      0.0
    ]
  },
  "eigenvalues_real": {
    "shape": [
      2,
      1
    ],
    "dtype": "float64",
    "values": [
      0.0,
      3.5
    ]
  },
  "eigenvalues_imaginary": {
    "shape": [
      2,
      1
    ],
    "dtype": "float64",
    "values": [
      0.0,
      0.0
    ]
  },
  "n": 6.0,
  "variable_count": 2.0,
  "method": "centered_sample_covariance_n_minus_one",
  "input_kind": "real"
}

statistics.partial_correlation

Access
Foundation selector. Check the Python route and signature.
Arguments
samples,other,extra
Shape
aligned real observation vectors and control columns
Units
Depends on the action
Result
structured
gxtxt_api_call("NUMERIC_API_v1", "foundation", ["statistics", "partial_correlation", a, b, c])
Recorded result · statistics.partial_correlation

Download the example script (ZIP).

Result, preview

{
  "correlation": -0.5454155540579483,
  "n": 6.0,
  "variable_count": 3.0,
  "control_count": 1.0,
  "covariance_rank": 3.0,
  "normalization_valid": true,
  "method": "covariance_pseudoinverse_normalization"
}

statistics.multiple_testing

Access
Foundation selector. Check the Python route and signature.
Arguments
samples,other,extra
Shape
dimensionless p-values and method option
Units
Depends on the action
Result
structured
gxtxt_api_call("NUMERIC_API_v1", "foundation", ["statistics", "multiple_testing", a, b, c])
Recorded result · statistics.multiple_testing

Download the example script (ZIP).

Result, preview

{
  "adjusted_p": {
    "shape": [
      3,
      1
    ],
    "dtype": "float64",
    "values": [
      0.03,
      0.09,
      1.0
    ]
  },
  "original_p": {
    "shape": [
      3,
      1
    ],
    "dtype": "float64",
    "values": [
      0.01,
      0.03,
      0.5
    ]
  },
  "hypothesis_index": {
    "shape": [
      3,
      1
    ],
    "dtype": "float64",
    "values": [
      1.0,
      2.0,
      3.0
    ]
  },
  "family_size": 3.0,
  "method": "bonferroni"
}

statistics.bootstrap_ci

Access
Foundation selector. Check the Python route and signature.
Arguments
samples,other,extra
Shape
numeric observations and options
Units
Depends on the action
Result
structured
gxtxt_api_call("NUMERIC_API_v1", "foundation", ["statistics", "bootstrap_ci", a, b, c])
Recorded result · statistics.bootstrap_ci

Download the example script (ZIP).

Result, preview

{
  "estimate": 5.333333333333333,
  "lower": 3.0,
  "upper": 7.0,
  "replicates": 100.0,
  "n_x": 6.0,
  "n_y": 0.0,
  "method": "bootstrap",
  "alternative": "two_sided",
  "confidence": 0.95,
  "inference": "percentile_confidence_interval",
  "quantile_definition": "Hyndman-Fan type 5 piecewise linear interpolation",
  "distribution_variance": 1.1791358024691365,
  "bootstrap_standard_error": 1.0858801971069998,
  "seed": 451.0,
  "random_generator": "twister"
}
Negative test or attempted call · statistics.bootstrap_ci

Download the example script (ZIP).

Result, preview

"GXTXT:Numeric:SeedRequired: bootstrap requires seed and at least 100 replicates"

statistics.permutation_test

Access
Foundation selector. Check the Python route and signature.
Arguments
samples,other,extra
Shape
numeric observations and options
Units
Depends on the action
Result
structured
gxtxt_api_call("NUMERIC_API_v1", "foundation", ["statistics", "permutation_test", a, b, c])
Recorded result · statistics.permutation_test

Download the example script (ZIP).

Result, preview

{
  "difference": 0.5,
  "p_value": 0.8415841584158416,
  "replicates": 100.0,
  "n_x": 6.0,
  "n_y": 6.0,
  "extreme_count": 84.0,
  "method": "permutation_independent",
  "alternative": "two_sided",
  "inference": "monte_carlo_permutation_p_plus_one",
  "tail_tolerance": 0.0,
  "seed": 451.0,
  "random_generator": "twister"
}
Negative test or attempted call · statistics.permutation_test

Download the example script (ZIP).

Result, preview

"GXTXT:Numeric:SeedRequired: permutation test requires seed and at least 100 replicates"

statistics.logistic_regression

Access
Foundation selector. Check the Python route and signature.
Arguments
samples,other,extra
Shape
real design and dimensionless binary response
Units
Depends on the action
Result
structured
gxtxt_api_call("NUMERIC_API_v1", "foundation", ["statistics", "logistic_regression", a, b, c])
Recorded result · statistics.logistic_regression

Download the example script (ZIP).

Result, preview

{
  "coefficients": {
    "shape": [
      2,
      1
    ],
    "dtype": "float64",
    "values": [
      -0.6180768082986414,
      0.5889058828052619
    ]
  },
  "probability": {
    "shape": [
      6,
      1
    ],
    "dtype": "float64",
    "values": [
      0.3502189776191859,
      0.4927077857241482,
      0.63639121230012,
      0.7592625732889627,
      0.8503751855291927,
      0.9110442655383905
    ]
  },
  "iterations": 6.0,
  "converged": true,
  "coefficients_real": {
    "shape": [
      2,
      1
    ],
    "dtype": "float64",
    "values": [
      -0.6180768082986414,
      0.5889058828052619
    ]
  },
  "coefficients_imaginary": {
    "shape": [
      2,
      1
    ],
    "dtype": "float64",
    "values": [
      0.0,
      0.0
    ]
  },
  "n": 6.0,
  "p": 2.0,
  "input_kind": "real",
  "method": "logistic_newton_weight_floor",
  "family": "binomial",
  "link": "logit",
  "last_update_norm": 4.888574409318637e-15,
  "last_threshold": 1e-09,
  "tolerance": 1e-09,
  "iteration_limit": 100.0
}

statistics.glm

Access
Foundation selector. Check the Python route and signature.
Arguments
samples,other,extra
Shape
real design and dimensionless binary or count response
Units
Depends on the action
Result
structured
gxtxt_api_call("NUMERIC_API_v1", "foundation", ["statistics", "glm", a, b, c])
Recorded result · statistics.glm

Download the example script (ZIP).

Result, preview

{
  "coefficients": {
    "shape": [
      2,
      1
    ],
    "dtype": "float64",
    "values": [
      -0.6180768082986414,
      0.5889058828052619
    ]
  },
  "fitted_mean": {
    "shape": [
      6,
      1
    ],
    "dtype": "float64",
    "values": [
      0.3502189776191859,
      0.4927077857241482,
      0.63639121230012,
      0.7592625732889627,
      0.8503751855291927,
      0.9110442655383905
    ]
  },
  "family": "binomial",
  "link": "logit",
  "iterations": 6.0,
  "converged": true,
  "score_norm": 6.684427777288334e-16,
  "coefficients_real": {
    "shape": [
      2,
      1
    ],
    "dtype": "float64",
    "values": [
      -0.6180768082986414,
      0.5889058828052619
    ]
  },
  "coefficients_imaginary": {
    "shape": [
      2,
      1
    ],
    "dtype": "float64",
    "values": [
      0.0,
      0.0
    ]
  },
  "n": 6.0,
  "p": 2.0,
  "input_kind": "real",
  "method": "glm_clipped_irls",
  "last_update_norm": 4.888574409318637e-15,
  "last_threshold": 1e-08,
  "tolerance": 1e-08,
  "iteration_limit": 100.0
}

statistics.survival_kaplan_meier

Access
Foundation selector. Check the Python route and signature.
Arguments
samples,other,extra
Shape
numeric observations and options
Units
Depends on the action
Result
structured
gxtxt_api_call("NUMERIC_API_v1", "foundation", ["statistics", "survival_kaplan_meier", a, b, c])
Recorded result · statistics.survival_kaplan_meier

Download the example script (ZIP).

Result, preview

{
  "time": {
    "shape": [
      6,
      1
    ],
    "dtype": "float64",
    "values": [
      1.0,
      3.0,
      4.0,
      7.0,
      8.0,
      9.0
    ]
  },
  "survival": {
    "shape": [
      6,
      1
    ],
    "dtype": "float64",
    "values": [
      1.0,
      0.8,
      0.6000000000000001,
      0.6000000000000001,
      0.30000000000000004,
      0.0
    ]
  },
  "method": "Kaplan-Meier",
  "n": 6.0,
  "at_risk": {
    "shape": [
      6,
      1
    ],
    "dtype": "float64",
    "values": [
      6.0,
      5.0,
      4.0,
      3.0,
      2.0,
      1.0
    ]
  },
  "events": {
    "shape": [
      6,
      1
    ],
    "dtype": "float64",
    "values": [
      0.0,
      1.0,
      1.0,
      0.0,
      1.0,
      1.0
    ]
  },
  "censored": {
    "shape": [
      6,
      1
    ],
    "dtype": "float64",
    "values": [
      1.0,
      0.0,
      0.0,
      1.0,
      0.0,
      0.0
    ]
  }
}

statistics.kmeans

Access
Foundation selector. Check the Python route and signature.
Arguments
samples,other,extra
Shape
real observation rows; explicit seed and integer clusters
Units
Depends on the action
Result
structured
gxtxt_api_call("NUMERIC_API_v1", "foundation", ["statistics", "kmeans", a, b, c])
Negative test or attempted call · statistics.kmeans

Download the example script (ZIP).

Result, preview

"GXTXT:ScientificTransport:Remote: package statistics is not installed"

ode.solve

Access
Foundation selector. Check the Python route and signature.
Arguments
rhs,time_span,initial_state
Shape
execution-scoped callback and numeric state
Units
Depends on the action
Result
structured
gxtxt_api_call("NUMERIC_API_v1", "foundation", ["ode", "solve", a, b, c])
Recorded result · model:foundation.ode.solve

Download the example script (ZIP).

Example operands, preview

[
  "foundation.ode.solve",
  {
    "kind": "struct",
    "fields": {
      "kind": {
        "kind": "text",
        "value": "linear_ode"
      },
      "matrix": {
        "kind": "array",
        "shape": [
          1,
          1
        ],
        "real": [
          -1.0
        ]
      }
    }
  },
  [
    {
      "kind": "array",
      "shape": [
        4,
        1
      ],
      "real": [
        0.0,
        0.25,
        0.5,
        1.0
      ]
    },
    {
      "kind": "array",
      "shape": [
        1,
        1
      ],
      "real": [
        1.0
      ]
    }
  ]
]

Result, preview

{
  "time": {
    "shape": [
      4,
      1
    ],
    "dtype": "float64",
    "values": [
      0.0,
      0.25,
      0.5,
      1.0
    ]
  },
  "state_real": {
    "shape": [
      4,
      1
    ],
    "dtype": "float64",
    "values": [
      1.0,
      0.7788007810324598,
      0.606530599251086,
      0.36787946794362886
    ]
  },
  "state_imaginary": {
    "shape": [
      4,
      1
    ],
    "dtype": "float64",
    "values": [
      0.0,
      0.0,
      0.0,
      0.0
    ]
  },
  "success": true,
  "cancelled": false,
  "terminated_by_event": false,
  "output_count": 4.0,
  "method": "ode45",
  "backend_method": "ode45",
  "event_time": {
    "shape": [
      0,
      0
    ],
    "dtype": "float64",
    "values": []
  },
  "event_state_real": {
    "shape": [
      0,
      0
    ],
    "dtype": "float64",
    "values": []
  },
  "event_state_imaginary": {
    "shape": [
      0,
      0
    ],
    "dtype": "float64",
    "values": []
  },
  "event_index": {
    "shape": [
      0,
      0
    ],
    "dtype": "float64",
    "values": []
  }
}
Negative test or attempted call · ode.solve:callback-exception

Download the example script (ZIP).

Result, preview

"GXTXT:ScriptCallback:Error: ValueError: Controlled RHS failure"

constrained.solve

Access
Foundation selector. Check the Python route and signature.
Arguments
objective,initial,constraints
Shape
execution-scoped callback and constraints
Units
Depends on the action
Result
structured
gxtxt_api_call("NUMERIC_API_v1", "foundation", ["constrained", "solve", a, b, c])
Recorded result · constrained.solve

Download the example script (ZIP).

Result, preview

{
  "point": {
    "shape": [
      2,
      1
    ],
    "dtype": "float64",
    "values": [
      0.0,
      0.0
    ]
  },
  "objective": 0.0,
  "status": 0,
  "converged": true,
  "iterations": 2,
  "function_evaluations": 7,
  "equality_residual": {
    "shape": [
      0,
      1
    ],
    "dtype": "float64",
    "values": []
  },
  "inequality_slack": {
    "shape": [
      0,
      1
    ],
    "dtype": "float64",
    "values": []
  },
  "maximum_violation": 0.0,
  "backend_multipliers": {
    "shape": [
      0,
      1
    ],
    "dtype": "float64",
    "values": []
  },
  "kkt_multipliers": {
    "shape": [
      0,
      1
    ],
    "dtype": "float64",
    "values": []
  },
  "kkt_stationarity_norm": 0.0,
  "kkt_complementarity_norm": 0.0,
  "kkt_dual_violation": 0.0,
  "active_inequalities": {
    "shape": [
      0,
      1
    ],
    "dtype": "float64",
    "values": []
  },
  "active_lower_bounds": {
    "shape": [
      0,
      1
    ],
    "dtype": "float64",
    "values": []
  },
  "active_upper_bounds": {
    "shape": [
      0,
      1
    ],
    "dtype": "float64",
    "values": []
  },
  "method": "SLSQP"
}

family.parameter_interpolate

Pass A as the increasing parameter axis, B as a matrix with one column per parameter, and C as the query. method defaults to linear. extrapolation=error rejects queries outside the axis range. The result retains each row and interpolates along the columns.

Recorded result · family.parameter_interpolate

Download the example script (ZIP).

Example operands, preview

[
  "family",
  "parameter_interpolate",
  {
    "kind": "array",
    "shape": [
      2,
      1
    ],
    "real": [
      0.0,
      1.0
    ]
  },
  {
    "kind": "array",
    "shape": [
      2,
      2
    ],
    "real": [
      0.0,
      1.0,
      2.0,
      5.0
    ]
  },
  {
    "kind": "array",
    "shape": [
      2,
      1
    ],
    "real": [
      0.25,
      0.75
    ]
  }
]

Result, preview

{
  "value_real": {
    "shape": [
      2,
      2
    ],
    "dtype": "float64",
    "values": [
      0.5,
      2.0,
      1.5,
      4.0
    ]
  },
  "value_imaginary": {
    "shape": [
      2,
      2
    ],
    "dtype": "float64",
    "values": [
      0.0,
      0.0,
      0.0,
      0.0
    ]
  },
  "parameter": {
    "shape": [
      2,
      1
    ],
    "dtype": "float64",
    "values": [
      0.25,
      0.75
    ]
  }
}