|
LMCAS
Lamina Computer Algebra System
|
Declaration of an assumption to apply within a with_assumptions block. 更多...
#include <assumption_context.hpp>
类 | |
| struct | DomainDeclaration |
| struct | SignDeclaration |
Public 类型 | |
| enum class | Type { Domain , Sign , Relation } |
| The type of assumption being declared. 更多... | |
Public 成员函数 | |
| Domain | domain () const |
| const SymbolicExpr & | relation () const |
| Sign | sign () const |
| const std::string & | symbol () const |
| Type | type () const noexcept |
静态 Public 成员函数 | |
| static AssumptionDecl | make_domain (const std::string &sym, Domain d) |
| Construct a domain assumption declaration. | |
| static AssumptionDecl | make_relation (const SymbolicExpr &rel) |
| Construct a relational assumption declaration. | |
| static AssumptionDecl | make_sign (const std::string &sym, Sign s) |
| Construct a sign assumption declaration. | |
Private 类型 | |
| using | Payload = std::variant<DomainDeclaration, SignDeclaration, SymbolicExpr> |
Private 成员函数 | |
| AssumptionDecl (DomainDeclaration declaration) | |
| AssumptionDecl (SignDeclaration declaration) | |
| AssumptionDecl (SymbolicExpr relation) | |
Private 属性 | |
| Payload | payload_ |
Declaration of an assumption to apply within a with_assumptions block.
Represents a single domain, sign, or relational assumption that can be applied to an AssumptionContext scope.
在文件 assumption_context.hpp 第 379 行定义.
| struct LMCAS::AssumptionDecl::DomainDeclaration |
在文件 assumption_context.hpp 第 428 行定义.
| 类成员 | ||
|---|---|---|
| Domain | domain | |
| string | symbol | |
| struct LMCAS::AssumptionDecl::SignDeclaration |
在文件 assumption_context.hpp 第 433 行定义.
| 类成员 | ||
|---|---|---|
| Sign | sign | |
| string | symbol | |
|
private |
在文件 assumption_context.hpp 第 438 行定义.
|
strong |
The type of assumption being declared.
| 枚举值 | |
|---|---|
| Domain | |
| Sign | |
| Relation | |
在文件 assumption_context.hpp 第 382 行定义.
|
inlineexplicitprivate |
在文件 assumption_context.hpp 第 440 行定义.
引用了 payload_.
被这些函数引用 make_domain(), make_relation() , 以及 make_sign().
|
inlineexplicitprivate |
|
inlineexplicitprivate |
|
inline |
在文件 assumption_context.hpp 第 415 行定义.
引用了 payload_.
被这些函数引用 LMCAS::apply_assumption_decl_checked() , 以及 symbol().
|
inlinestatic |
Construct a domain assumption declaration.
在文件 assumption_context.hpp 第 385 行定义.
引用了 AssumptionDecl() , 以及 LMCAS::sym().
|
inlinestatic |
Construct a relational assumption declaration.
在文件 assumption_context.hpp 第 395 行定义.
引用了 AssumptionDecl().
|
inlinestatic |
Construct a sign assumption declaration.
在文件 assumption_context.hpp 第 390 行定义.
引用了 AssumptionDecl() , 以及 LMCAS::sym().
|
inline |
在文件 assumption_context.hpp 第 423 行定义.
引用了 payload_.
被这些函数引用 AssumptionDecl() , 以及 LMCAS::apply_assumption_decl_checked().
|
inline |
在文件 assumption_context.hpp 第 419 行定义.
引用了 payload_.
被这些函数引用 LMCAS::apply_assumption_decl_checked() , 以及 symbol().
|
inline |
在文件 assumption_context.hpp 第 405 行定义.
引用了 domain(), payload_ , 以及 sign().
被这些函数引用 LMCAS::apply_assumption_decl_checked().
|
inlinenoexcept |
在文件 assumption_context.hpp 第 399 行定义.
引用了 Domain, payload_, Relation , 以及 Sign.
被这些函数引用 LMCAS::apply_assumption_decl_checked().
|
private |
在文件 assumption_context.hpp 第 447 行定义.
被这些函数引用 AssumptionDecl(), AssumptionDecl(), AssumptionDecl(), domain(), relation(), sign(), symbol() , 以及 type().