Navigation
index
modules
|
next
|
Sage Reference Manual
»
Sage 9.4 Reference Manual: Utilities
»
Utilities
Utilities
¶
General Infrastructure
¶
Default Settings
Functional notation
Random Number States
Random Numbers with Python API
The Unknown truth value
Programming Utilities
¶
Special Base Classes, Decorators, etc.
¶
Abstract methods
Bindable classes
Decorators
Constant functions
Special Methods for Classes
Metaclass for inheriting comparison functions
Base Class to Support Method Decorators
Multiplex calls to one object to calls to many objects
Fast methods via Cython
Attribute and method calling
Lists and Iteration, etc.
¶
Callable dictionaries
Converting Dictionary
Flatten nested lists
Searching a sorted list
Multidimensional enumeration
multi_replace
Threaded map function
Ranges and the
[1,2,..,n]
notation
Elements with labels.
File and OS Access
¶
Temporary file handling
get_remote_file
Message delivery
Miscellaneous operating system functions
Database Access
¶
Relational (sqlite) Databases Module
Media
¶
Wrapper for Graphics Files
Work with WAV files
Warnings
¶
Stopgaps
Handling Superseded Functionality
Miscellaneous Useful Functions
¶
Miscellaneous functions
Miscellaneous functions (Cython)
Verbosity System and Logging in SageMath
Laziness
¶
Lazy attributes
Lazy format strings
Lazy imports
Lazy import cache
Lazy lists
Lazy strings
Caching
¶
Cached Functions and Methods
Fast and safe weak value dictionary
Fast Expression Evaluation
¶
Fast Expression Evaluation
Fast Numerical Evaluation
Code Evaluation
¶
Cython support functions
Fortran compiler
A parser for symbolic equations and expressions
Evaluating Python code without any preparsing
Evaluating a String in Sage
Evaluating shell scripts
Formatted Output
¶
Formatted Output
¶
Symbols for Character Art
Base Class for Character-Based Art
Factory for Character-Based Art
ASCII Art
Unicode Art
Unicode Characters
Repr formatting support
Sage Input Formatting
Tables
HTML and MathML
¶
HTML Fragments
MathML output support
LaTeX
¶
Installing and using SageTeX
LaTeX printing support
LaTeX macros
Saving and Loading Sage Objects
¶
Support for persistent functions in .sage files
Object persistence
Function pickling
A tool for inspecting Python pickles
Fixing pickle for nested classes
Loading and saving sessions and listing all variables
Interactive Usage Support
¶
Interactive Sage Sessions
¶
SageMath version and banner info
Interpreter reset
Determination of programs for viewing web pages, etc.
Pager for showing strings
Format Sage documentation for viewing with IPython and the notebook
Process docstrings with Sphinx
Distribution
¶
Listing Sage packages
Installing shortcut scripts
Testing for features of the environment at runtime
Checks for bliss
Testing for CSDP at runtime
Testing for databases at runtime
Checks for FES
Check for GAP features
Check various graph generator programs
Check for lrs
Credits
¶
Dependency usage tracking for citations
License
Development Tools
¶
Testing
¶
Unit testing for Sage objects
Random testing
Test for nested class Parent
Benchmarking and Profiling
¶
Benchmarks
Accurate timing information for Sage commands
The
timeit
command
Simple profiling tool
C Function Profiler Using Google Perftools
Miscellaneous Inspection and Development Tools
¶
Dynamic documentation for instances of classes
Inspect Python, Sage, and Cython objects
Edit the source code of Sage interactively
Get resource usage of process
Class inheritance graphs
Some tools for developers
Function Mangling
ReST index of functions
Low-Level Utilities
¶
Low-level memory allocation functions
The C3 algorithm
The C3 algorithm, under control of a total order
Indices and Tables
¶
Index
Module Index
Search Page
Table of Contents
Utilities
General Infrastructure
Programming Utilities
Special Base Classes, Decorators, etc.
Lists and Iteration, etc.
File and OS Access
Database Access
Media
Warnings
Miscellaneous Useful Functions
Laziness
Caching
Fast Expression Evaluation
Code Evaluation
Formatted Output
Formatted Output
HTML and MathML
LaTeX
Saving and Loading Sage Objects
Interactive Usage Support
Interactive Sage Sessions
Distribution
Credits
Development Tools
Testing
Benchmarking and Profiling
Miscellaneous Inspection and Development Tools
Low-Level Utilities
Indices and Tables
Next topic
Default Settings
This Page
Show Source
Quick search
Navigation
index
modules
|
next
|
Sage Reference Manual
»
Sage 9.4 Reference Manual: Utilities
»
Utilities