PySparQ.pysparq¶
PySparQ 类型存根 - 从 _core 模块重新导出所有公共 API。
Submodules¶
Classes¶
Reusable state formatter with configurable default mode. |
Functions¶
|
Return a formatted string representation of a SparseState. |
|
Print a SparseState to stdout in Detail mode. |
|
测试 PySparQ 导入是否正常工作。 |
|
Return a formatted string representation of a SparseState (alias for StatePrint). |
Package Contents¶
- class PySparQ.pysparq.StatePrinter(mode: int | pysparq._core.StatePrintDisplay = 1, precision: int = 0)[源代码]¶
Reusable state formatter with configurable default mode.
- PySparQ.pysparq.StatePrint(state: pysparq._core.SparseState, mode: int | pysparq._core.StatePrintDisplay = 1, precision: int = 0) str[源代码]¶
Return a formatted string representation of a SparseState.