Code Generation#
Contents
- Introduction
- Code printers (sympy.printing)
- Codegen (sympy.utilities.codegen)
- Autowrap
- Classes and functions for rewriting expressions (sympy.codegen.rewriting)
- Tools for simplifying expressions using approximations (sympy.codegen.approximations)
- Classes for abstract syntax trees (sympy.codegen.ast)
- AST Type Tree
- Predefined types
- Using the nodes
Assignment
AssignmentBase
Attribute
AugmentedAssignment
BreakToken
CodeBlock
Comment
ComplexType
ContinueToken
Declaration
Element
FloatBaseType
FloatType
For
FunctionCall
FunctionDefinition
FunctionPrototype
IntBaseType
Node
NoneToken
Pointer
Print
QuotedString
Return
Scope
SignedIntType
Stream
String
Token
Type
UnsignedIntType
Variable
While
aug_assign()
- Special C math functions (sympy.codegen.cfunctions)
- C specific AST nodes (sympy.codegen.cnodes)
- C++ specific AST nodes (sympy.codegen.cxxnodes)
- Fortran specific AST nodes (sympy.codegen.fnodes)
- Algorithms (sympy.codegen.algorithms)
- Python utilities (sympy.codegen.pyutils)
- C utilities (sympy.codegen.cutils)
- Fortran utilities (sympy.codegen.futils)