API Reference

StochX exposes stochastic-process objects as explicit Python classes. The reference follows a PyDTMC-style layout: each class page describes the mathematical object, constructor, public properties, public methods, examples, and related course material.

Markov chains

  • MarkovChain — finite homogeneous discrete-time Markov chains.

Poisson processes

Continuous-time Markov chains

Conditional expectation

Martingales

Standalone analysis

Exceptions

API conventions

Properties describe intrinsic information already attached to an object. Methods perform computations or operations that require arguments. Public state labels are preserved at the API boundary while numerical implementations may use integer indices internally.

The API reference is separate from the mathematical Course material. For definitions and proofs, use the corresponding course chapter first.