matrix_as_markdown

KMatrix.matrix_as_markdown(compartments: list[str] | None = None, fill_parameters: bool = False) MarkdownStr[source]

Returns the KMatrix as markdown formatted table.

Parameters:
  • compartments – (default = None) An optional list defining the desired order of compartments.

  • fill_parameters (bool) – (default = False) If true, the entries will be filled with the actual parameter values instead of labels.