expression_parser

Bindings for numeric::expression_parser namespace

class pyrosetta.rosetta.numeric.expression_parser.ASTPrinter

Bases: pyrosetta.rosetta.numeric.expression_parser.ASTVisitor

Traverse the AST and print it to standard out

__delattr__

Implement delattr(self, name).

__dir__() → list

default dir() implementation

__eq__

Return self==value.

__format__()

default object formatter

__ge__

Return self>=value.

__getattribute__

Return getattr(self, name).

__gt__

Return self>value.

__hash__

Return hash(self).

__init__(self: pyrosetta.rosetta.numeric.expression_parser.ASTPrinter) → None
__init_subclass__()

This method is called when a class is subclassed.

The default implementation does nothing. It may be overridden to extend subclasses.

__le__

Return self<=value.

__lt__

Return self<value.

__ne__

Return self!=value.

__new__()

Create and return a new object. See help(type) for accurate signature.

__reduce__()

helper for pickle

__reduce_ex__()

helper for pickle

__repr__

Return repr(self).

__setattr__

Implement setattr(self, name, value).

__sizeof__() → int

size of object in memory, in bytes

__str__

Return str(self).

__subclasshook__()

Abstract classes can override this to customize issubclass().

This is invoked early on by abc.ABCMeta.__subclasscheck__(). It should return True, False or NotImplemented. If it returns NotImplemented, the normal algorithm is used. Otherwise, it overrides the normal algorithm (and the outcome is cached).

assign(self: pyrosetta.rosetta.numeric.expression_parser.ASTVisitor, : pyrosetta.rosetta.numeric.expression_parser.ASTVisitor) → pyrosetta.rosetta.numeric.expression_parser.ASTVisitor

C++: numeric::expression_parser::ASTVisitor::operator=(const class numeric::expression_parser::ASTVisitor &) –> class numeric::expression_parser::ASTVisitor &

ast_string(self: pyrosetta.rosetta.numeric.expression_parser.ASTPrinter, node: pyrosetta.rosetta.numeric.expression_parser.ArithmeticASTNode) → str

C++: numeric::expression_parser::ASTPrinter::ast_string(const class numeric::expression_parser::ArithmeticASTNode &) –> std::string

pretty(self: pyrosetta.rosetta.numeric.expression_parser.ASTPrinter, setting: bool) → None

C++: numeric::expression_parser::ASTPrinter::pretty(bool) –> void

visit(*args, **kwargs)

Overloaded function.

  1. visit(self: pyrosetta.rosetta.numeric.expression_parser.ASTPrinter, : pyrosetta.rosetta.numeric.expression_parser.ArithmeticASTExpression) -> None

C++: numeric::expression_parser::ASTPrinter::visit(const class numeric::expression_parser::ArithmeticASTExpression &) –> void

  1. visit(self: pyrosetta.rosetta.numeric.expression_parser.ASTPrinter, : pyrosetta.rosetta.numeric.expression_parser.ArithmeticASTFunction) -> None

C++: numeric::expression_parser::ASTPrinter::visit(const class numeric::expression_parser::ArithmeticASTFunction &) –> void

  1. visit(self: pyrosetta.rosetta.numeric.expression_parser.ASTPrinter, : pyrosetta.rosetta.numeric.expression_parser.ArithmeticASTTerm) -> None

C++: numeric::expression_parser::ASTPrinter::visit(const class numeric::expression_parser::ArithmeticASTTerm &) –> void

  1. visit(self: pyrosetta.rosetta.numeric.expression_parser.ASTPrinter, : pyrosetta.rosetta.numeric.expression_parser.ArithmeticASTFactor) -> None

C++: numeric::expression_parser::ASTPrinter::visit(const class numeric::expression_parser::ArithmeticASTFactor &) –> void

  1. visit(self: pyrosetta.rosetta.numeric.expression_parser.ASTPrinter, : pyrosetta.rosetta.numeric.expression_parser.ArithmeticASTValue) -> None

C++: numeric::expression_parser::ASTPrinter::visit(const class numeric::expression_parser::ArithmeticASTValue &) –> void

  1. visit(self: pyrosetta.rosetta.numeric.expression_parser.ASTPrinter, : pyrosetta.rosetta.numeric.expression_parser.ArithmeticASTRestTerm) -> None

C++: numeric::expression_parser::ASTPrinter::visit(const class numeric::expression_parser::ArithmeticASTRestTerm &) –> void

  1. visit(self: pyrosetta.rosetta.numeric.expression_parser.ASTPrinter, : pyrosetta.rosetta.numeric.expression_parser.ArithmeticASTRestExpression) -> None

C++: numeric::expression_parser::ASTPrinter::visit(const class numeric::expression_parser::ArithmeticASTRestExpression &) –> void

  1. visit(self: pyrosetta.rosetta.numeric.expression_parser.ASTPrinter, : pyrosetta.rosetta.numeric.expression_parser.ArithmeticASTNode) -> None

C++: numeric::expression_parser::ASTPrinter::visit(const class numeric::expression_parser::ArithmeticASTNode &) –> void

class pyrosetta.rosetta.numeric.expression_parser.ASTVisitor

Bases: pybind11_builtins.pybind11_object

Double-dispatch visitor pattern for abstract syntax tree

__delattr__

Implement delattr(self, name).

__dir__() → list

default dir() implementation

__eq__

Return self==value.

__format__()

default object formatter

__ge__

Return self>=value.

__getattribute__

Return getattr(self, name).

__gt__

Return self>value.

__hash__

Return hash(self).

__init__(*args, **kwargs)

Overloaded function.

  1. __init__(self: pyrosetta.rosetta.numeric.expression_parser.ASTVisitor) -> None
  2. __init__(self: pyrosetta.rosetta.numeric.expression_parser.ASTVisitor, arg0: pyrosetta.rosetta.numeric.expression_parser.ASTVisitor) -> None
__init_subclass__()

This method is called when a class is subclassed.

The default implementation does nothing. It may be overridden to extend subclasses.

__le__

Return self<=value.

__lt__

Return self<value.

__ne__

Return self!=value.

__new__()

Create and return a new object. See help(type) for accurate signature.

__reduce__()

helper for pickle

__reduce_ex__()

helper for pickle

__repr__

Return repr(self).

__setattr__

Implement setattr(self, name, value).

__sizeof__() → int

size of object in memory, in bytes

__str__

Return str(self).

__subclasshook__()

Abstract classes can override this to customize issubclass().

This is invoked early on by abc.ABCMeta.__subclasscheck__(). It should return True, False or NotImplemented. If it returns NotImplemented, the normal algorithm is used. Otherwise, it overrides the normal algorithm (and the outcome is cached).

assign(self: pyrosetta.rosetta.numeric.expression_parser.ASTVisitor, : pyrosetta.rosetta.numeric.expression_parser.ASTVisitor) → pyrosetta.rosetta.numeric.expression_parser.ASTVisitor

C++: numeric::expression_parser::ASTVisitor::operator=(const class numeric::expression_parser::ASTVisitor &) –> class numeric::expression_parser::ASTVisitor &

visit(*args, **kwargs)

Overloaded function.

  1. visit(self: pyrosetta.rosetta.numeric.expression_parser.ASTVisitor, : pyrosetta.rosetta.numeric.expression_parser.ArithmeticASTExpression) -> None

C++: numeric::expression_parser::ASTVisitor::visit(const class numeric::expression_parser::ArithmeticASTExpression &) –> void

  1. visit(self: pyrosetta.rosetta.numeric.expression_parser.ASTVisitor, : pyrosetta.rosetta.numeric.expression_parser.ArithmeticASTFunction) -> None

C++: numeric::expression_parser::ASTVisitor::visit(const class numeric::expression_parser::ArithmeticASTFunction &) –> void

  1. visit(self: pyrosetta.rosetta.numeric.expression_parser.ASTVisitor, : pyrosetta.rosetta.numeric.expression_parser.ArithmeticASTTerm) -> None

C++: numeric::expression_parser::ASTVisitor::visit(const class numeric::expression_parser::ArithmeticASTTerm &) –> void

  1. visit(self: pyrosetta.rosetta.numeric.expression_parser.ASTVisitor, : pyrosetta.rosetta.numeric.expression_parser.ArithmeticASTFactor) -> None

C++: numeric::expression_parser::ASTVisitor::visit(const class numeric::expression_parser::ArithmeticASTFactor &) –> void

  1. visit(self: pyrosetta.rosetta.numeric.expression_parser.ASTVisitor, : pyrosetta.rosetta.numeric.expression_parser.ArithmeticASTValue) -> None

C++: numeric::expression_parser::ASTVisitor::visit(const class numeric::expression_parser::ArithmeticASTValue &) –> void

  1. visit(self: pyrosetta.rosetta.numeric.expression_parser.ASTVisitor, : pyrosetta.rosetta.numeric.expression_parser.ArithmeticASTRestTerm) -> None

C++: numeric::expression_parser::ASTVisitor::visit(const class numeric::expression_parser::ArithmeticASTRestTerm &) –> void

  1. visit(self: pyrosetta.rosetta.numeric.expression_parser.ASTVisitor, : pyrosetta.rosetta.numeric.expression_parser.ArithmeticASTRestExpression) -> None

C++: numeric::expression_parser::ASTVisitor::visit(const class numeric::expression_parser::ArithmeticASTRestExpression &) –> void

  1. visit(self: pyrosetta.rosetta.numeric.expression_parser.ASTVisitor, : pyrosetta.rosetta.numeric.expression_parser.ArithmeticASTNode) -> None

C++: numeric::expression_parser::ASTVisitor::visit(const class numeric::expression_parser::ArithmeticASTNode &) –> void

class pyrosetta.rosetta.numeric.expression_parser.AndExpression

Bases: pyrosetta.rosetta.numeric.expression_parser.BinaryExpression

  1. Boolean Logic Operators
__call__(self: pyrosetta.rosetta.numeric.expression_parser.AndExpression) → float

C++: numeric::expression_parser::AndExpression::operator()() const –> double

__delattr__

Implement delattr(self, name).

__dir__() → list

default dir() implementation

__eq__

Return self==value.

__format__()

default object formatter

__ge__

Return self>=value.

__getattribute__

Return getattr(self, name).

__gt__

Return self>value.

__hash__

Return hash(self).

__init__(*args, **kwargs)

Overloaded function.

  1. __init__(self: pyrosetta.rosetta.numeric.expression_parser.AndExpression) -> None
  2. __init__(self: pyrosetta.rosetta.numeric.expression_parser.AndExpression, e1: pyrosetta.rosetta.numeric.expression_parser.Expression, e2: pyrosetta.rosetta.numeric.expression_parser.Expression) -> None
__init_subclass__()

This method is called when a class is subclassed.

The default implementation does nothing. It may be overridden to extend subclasses.

__le__

Return self<=value.

__lt__

Return self<value.

__ne__

Return self!=value.

__new__()

Create and return a new object. See help(type) for accurate signature.

__reduce__()

helper for pickle

__reduce_ex__()

helper for pickle

__repr__

Return repr(self).

__setattr__

Implement setattr(self, name, value).

__sizeof__() → int

size of object in memory, in bytes

__str__

Return str(self).

__subclasshook__()

Abstract classes can override this to customize issubclass().

This is invoked early on by abc.ABCMeta.__subclasscheck__(). It should return True, False or NotImplemented. If it returns NotImplemented, the normal algorithm is used. Otherwise, it overrides the normal algorithm (and the outcome is cached).

active_variables(self: pyrosetta.rosetta.numeric.expression_parser.BinaryExpression) → pyrosetta.rosetta.std.list_std_string_std_allocator_std_string_t

C++: numeric::expression_parser::BinaryExpression::active_variables() const –> class std::list<std::string, class std::allocator<std::string > >

assign(self: pyrosetta.rosetta.numeric.expression_parser.AndExpression, : pyrosetta.rosetta.numeric.expression_parser.AndExpression) → pyrosetta.rosetta.numeric.expression_parser.AndExpression

C++: numeric::expression_parser::AndExpression::operator=(const class numeric::expression_parser::AndExpression &) –> class numeric::expression_parser::AndExpression &

differentiate(self: pyrosetta.rosetta.numeric.expression_parser.AndExpression, varname: str) → pyrosetta.rosetta.numeric.expression_parser.Expression

C++: numeric::expression_parser::AndExpression::differentiate(const class std::basic_string<char> &) const –> class std::shared_ptr<const class numeric::expression_parser::Expression>

e1(self: pyrosetta.rosetta.numeric.expression_parser.BinaryExpression) → pyrosetta.rosetta.numeric.expression_parser.Expression

C++: numeric::expression_parser::BinaryExpression::e1() const –> class std::shared_ptr<const class numeric::expression_parser::Expression>

e2(self: pyrosetta.rosetta.numeric.expression_parser.BinaryExpression) → pyrosetta.rosetta.numeric.expression_parser.Expression

C++: numeric::expression_parser::BinaryExpression::e2() const –> class std::shared_ptr<const class numeric::expression_parser::Expression>

set_first_expression(self: pyrosetta.rosetta.numeric.expression_parser.BinaryExpression, e1: pyrosetta.rosetta.numeric.expression_parser.Expression) → None

C++: numeric::expression_parser::BinaryExpression::set_first_expression(class std::shared_ptr<const class numeric::expression_parser::Expression>) –> void

set_second_expression(self: pyrosetta.rosetta.numeric.expression_parser.BinaryExpression, e2: pyrosetta.rosetta.numeric.expression_parser.Expression) → None

C++: numeric::expression_parser::BinaryExpression::set_second_expression(class std::shared_ptr<const class numeric::expression_parser::Expression>) –> void

class pyrosetta.rosetta.numeric.expression_parser.ArithmeticASTNode

Bases: pybind11_builtins.pybind11_object

Base class for Abstract Syntax Tree (AST) for the simple Arithmetic language defined here.

__delattr__

Implement delattr(self, name).

__dir__() → list

default dir() implementation

__eq__

Return self==value.

__format__()

default object formatter

__ge__

Return self>=value.

__getattribute__

Return getattr(self, name).

__gt__

Return self>value.

__hash__

Return hash(self).

__init__(*args, **kwargs)

Overloaded function.

  1. __init__(self: pyrosetta.rosetta.numeric.expression_parser.ArithmeticASTNode) -> None
  2. __init__(self: pyrosetta.rosetta.numeric.expression_parser.ArithmeticASTNode, arg0: pyrosetta.rosetta.numeric.expression_parser.ArithmeticASTNode) -> None
__init_subclass__()

This method is called when a class is subclassed.

The default implementation does nothing. It may be overridden to extend subclasses.

__le__

Return self<=value.

__lt__

Return self<value.

__ne__

Return self!=value.

__new__()

Create and return a new object. See help(type) for accurate signature.

__reduce__()

helper for pickle

__reduce_ex__()

helper for pickle

__repr__

Return repr(self).

__setattr__

Implement setattr(self, name, value).

__sizeof__() → int

size of object in memory, in bytes

__str__

Return str(self).

__subclasshook__()

Abstract classes can override this to customize issubclass().

This is invoked early on by abc.ABCMeta.__subclasscheck__(). It should return True, False or NotImplemented. If it returns NotImplemented, the normal algorithm is used. Otherwise, it overrides the normal algorithm (and the outcome is cached).

assign(self: pyrosetta.rosetta.numeric.expression_parser.ArithmeticASTNode, : pyrosetta.rosetta.numeric.expression_parser.ArithmeticASTNode) → pyrosetta.rosetta.numeric.expression_parser.ArithmeticASTNode

C++: numeric::expression_parser::ArithmeticASTNode::operator=(const class numeric::expression_parser::ArithmeticASTNode &) –> class numeric::expression_parser::ArithmeticASTNode &

visit(self: pyrosetta.rosetta.numeric.expression_parser.ArithmeticASTNode, visitor: numeric::expression_parser::ASTVisitor) → None

C++: numeric::expression_parser::ArithmeticASTNode::visit(class numeric::expression_parser::ASTVisitor &) const –> void

class pyrosetta.rosetta.numeric.expression_parser.ArithmeticASTValue

Bases: pyrosetta.rosetta.numeric.expression_parser.ArithmeticASTNode

either a variable or a literal.

__delattr__

Implement delattr(self, name).

__dir__() → list

default dir() implementation

__eq__

Return self==value.

__format__()

default object formatter

__ge__

Return self>=value.

__getattribute__

Return getattr(self, name).

__gt__

Return self>value.

__hash__

Return hash(self).

__init__(*args, **kwargs)

Overloaded function.

  1. __init__(self: pyrosetta.rosetta.numeric.expression_parser.ArithmeticASTValue) -> None
  2. __init__(self: pyrosetta.rosetta.numeric.expression_parser.ArithmeticASTValue, arg0: pyrosetta.rosetta.numeric.expression_parser.ArithmeticASTValue) -> None
__init_subclass__()

This method is called when a class is subclassed.

The default implementation does nothing. It may be overridden to extend subclasses.

__le__

Return self<=value.

__lt__

Return self<value.

__ne__

Return self!=value.

__new__()

Create and return a new object. See help(type) for accurate signature.

__reduce__()

helper for pickle

__reduce_ex__()

helper for pickle

__repr__

Return repr(self).

__setattr__

Implement setattr(self, name, value).

__sizeof__() → int

size of object in memory, in bytes

__str__

Return str(self).

__subclasshook__()

Abstract classes can override this to customize issubclass().

This is invoked early on by abc.ABCMeta.__subclasscheck__(). It should return True, False or NotImplemented. If it returns NotImplemented, the normal algorithm is used. Otherwise, it overrides the normal algorithm (and the outcome is cached).

assign(self: pyrosetta.rosetta.numeric.expression_parser.ArithmeticASTValue, : pyrosetta.rosetta.numeric.expression_parser.ArithmeticASTValue) → pyrosetta.rosetta.numeric.expression_parser.ArithmeticASTValue

C++: numeric::expression_parser::ArithmeticASTValue::operator=(const class numeric::expression_parser::ArithmeticASTValue &) –> class numeric::expression_parser::ArithmeticASTValue &

is_literal(self: pyrosetta.rosetta.numeric.expression_parser.ArithmeticASTValue) → bool

C++: numeric::expression_parser::ArithmeticASTValue::is_literal() const –> bool

literal_value(self: pyrosetta.rosetta.numeric.expression_parser.ArithmeticASTValue) → float

C++: numeric::expression_parser::ArithmeticASTValue::literal_value() const –> double

parse(self: pyrosetta.rosetta.numeric.expression_parser.ArithmeticASTValue, tokens: pyrosetta.rosetta.numeric.expression_parser.TokenSet) → None

C++: numeric::expression_parser::ArithmeticASTValue::parse(class numeric::expression_parser::TokenSet &) –> void

variable_name(self: pyrosetta.rosetta.numeric.expression_parser.ArithmeticASTValue) → str

C++: numeric::expression_parser::ArithmeticASTValue::variable_name() const –> std::string

visit(self: pyrosetta.rosetta.numeric.expression_parser.ArithmeticASTValue, visitor: numeric::expression_parser::ASTVisitor) → None

C++: numeric::expression_parser::ArithmeticASTValue::visit(class numeric::expression_parser::ASTVisitor &) const –> void

class pyrosetta.rosetta.numeric.expression_parser.EqualsExpression

Bases: pyrosetta.rosetta.numeric.expression_parser.BinaryExpression

BEGIN PSEUDO-BOOLEAN EXPRESSIONS DO NOT TRY TO DIFFERENTIATE THEM 1. Arithmetic Comparison Operators

__call__(self: pyrosetta.rosetta.numeric.expression_parser.EqualsExpression) → float

C++: numeric::expression_parser::EqualsExpression::operator()() const –> double

__delattr__

Implement delattr(self, name).

__dir__() → list

default dir() implementation

__eq__

Return self==value.

__format__()

default object formatter

__ge__

Return self>=value.

__getattribute__

Return getattr(self, name).

__gt__

Return self>value.

__hash__

Return hash(self).

__init__(*args, **kwargs)

Overloaded function.

  1. __init__(self: pyrosetta.rosetta.numeric.expression_parser.EqualsExpression) -> None
  2. __init__(self: pyrosetta.rosetta.numeric.expression_parser.EqualsExpression, e1: pyrosetta.rosetta.numeric.expression_parser.Expression, e2: pyrosetta.rosetta.numeric.expression_parser.Expression) -> None
__init_subclass__()

This method is called when a class is subclassed.

The default implementation does nothing. It may be overridden to extend subclasses.

__le__

Return self<=value.

__lt__

Return self<value.

__ne__

Return self!=value.

__new__()

Create and return a new object. See help(type) for accurate signature.

__reduce__()

helper for pickle

__reduce_ex__()

helper for pickle

__repr__

Return repr(self).

__setattr__

Implement setattr(self, name, value).

__sizeof__() → int

size of object in memory, in bytes

__str__

Return str(self).

__subclasshook__()

Abstract classes can override this to customize issubclass().

This is invoked early on by abc.ABCMeta.__subclasscheck__(). It should return True, False or NotImplemented. If it returns NotImplemented, the normal algorithm is used. Otherwise, it overrides the normal algorithm (and the outcome is cached).

active_variables(self: pyrosetta.rosetta.numeric.expression_parser.BinaryExpression) → pyrosetta.rosetta.std.list_std_string_std_allocator_std_string_t

C++: numeric::expression_parser::BinaryExpression::active_variables() const –> class std::list<std::string, class std::allocator<std::string > >

assign(self: pyrosetta.rosetta.numeric.expression_parser.EqualsExpression, : pyrosetta.rosetta.numeric.expression_parser.EqualsExpression) → pyrosetta.rosetta.numeric.expression_parser.EqualsExpression

C++: numeric::expression_parser::EqualsExpression::operator=(const class numeric::expression_parser::EqualsExpression &) –> class numeric::expression_parser::EqualsExpression &

differentiate(self: pyrosetta.rosetta.numeric.expression_parser.EqualsExpression, varname: str) → pyrosetta.rosetta.numeric.expression_parser.Expression

C++: numeric::expression_parser::EqualsExpression::differentiate(const class std::basic_string<char> &) const –> class std::shared_ptr<const class numeric::expression_parser::Expression>

e1(self: pyrosetta.rosetta.numeric.expression_parser.BinaryExpression) → pyrosetta.rosetta.numeric.expression_parser.Expression

C++: numeric::expression_parser::BinaryExpression::e1() const –> class std::shared_ptr<const class numeric::expression_parser::Expression>

e2(self: pyrosetta.rosetta.numeric.expression_parser.BinaryExpression) → pyrosetta.rosetta.numeric.expression_parser.Expression

C++: numeric::expression_parser::BinaryExpression::e2() const –> class std::shared_ptr<const class numeric::expression_parser::Expression>

set_first_expression(self: pyrosetta.rosetta.numeric.expression_parser.BinaryExpression, e1: pyrosetta.rosetta.numeric.expression_parser.Expression) → None

C++: numeric::expression_parser::BinaryExpression::set_first_expression(class std::shared_ptr<const class numeric::expression_parser::Expression>) –> void

set_second_expression(self: pyrosetta.rosetta.numeric.expression_parser.BinaryExpression, e2: pyrosetta.rosetta.numeric.expression_parser.Expression) → None

C++: numeric::expression_parser::BinaryExpression::set_second_expression(class std::shared_ptr<const class numeric::expression_parser::Expression>) –> void

class pyrosetta.rosetta.numeric.expression_parser.Expression

Bases: pybind11_builtins.pybind11_object

Pure virtual base class to define arbitrary expressions for scripting arithmetic operations (e.g. addition and multipliction).

__call__(self: pyrosetta.rosetta.numeric.expression_parser.Expression) → float

C++: numeric::expression_parser::Expression::operator()() const –> double

__delattr__

Implement delattr(self, name).

__dir__() → list

default dir() implementation

__eq__

Return self==value.

__format__()

default object formatter

__ge__

Return self>=value.

__getattribute__

Return getattr(self, name).

__gt__

Return self>value.

__hash__

Return hash(self).

__init__(*args, **kwargs)

Overloaded function.

  1. __init__(self: pyrosetta.rosetta.numeric.expression_parser.Expression) -> None
  2. __init__(self: pyrosetta.rosetta.numeric.expression_parser.Expression, arg0: pyrosetta.rosetta.numeric.expression_parser.Expression) -> None
__init_subclass__()

This method is called when a class is subclassed.

The default implementation does nothing. It may be overridden to extend subclasses.

__le__

Return self<=value.

__lt__

Return self<value.

__ne__

Return self!=value.

__new__()

Create and return a new object. See help(type) for accurate signature.

__reduce__()

helper for pickle

__reduce_ex__()

helper for pickle

__repr__

Return repr(self).

__setattr__

Implement setattr(self, name, value).

__sizeof__() → int

size of object in memory, in bytes

__str__

Return str(self).

__subclasshook__()

Abstract classes can override this to customize issubclass().

This is invoked early on by abc.ABCMeta.__subclasscheck__(). It should return True, False or NotImplemented. If it returns NotImplemented, the normal algorithm is used. Otherwise, it overrides the normal algorithm (and the outcome is cached).

active_variables(self: pyrosetta.rosetta.numeric.expression_parser.Expression) → pyrosetta.rosetta.std.list_std_string_std_allocator_std_string_t

C++: numeric::expression_parser::Expression::active_variables() const –> class std::list<std::string, class std::allocator<std::string > >

assign(self: pyrosetta.rosetta.numeric.expression_parser.Expression, : pyrosetta.rosetta.numeric.expression_parser.Expression) → pyrosetta.rosetta.numeric.expression_parser.Expression

C++: numeric::expression_parser::Expression::operator=(const class numeric::expression_parser::Expression &) –> class numeric::expression_parser::Expression &

differentiate(self: pyrosetta.rosetta.numeric.expression_parser.Expression, varname: str) → pyrosetta.rosetta.numeric.expression_parser.Expression
Returns the expression for the partial derivative of this expression
by the variable named varname. If the partial derivative is always zero with respect to varname, returns null.

C++: numeric::expression_parser::Expression::differentiate(const class std::basic_string<char> &) const –> class std::shared_ptr<const class numeric::expression_parser::Expression>

class pyrosetta.rosetta.numeric.expression_parser.ExpressionCreator

Bases: pyrosetta.rosetta.numeric.expression_parser.ASTVisitor

Class to traverse the abstract syntax tree produced by the parsing of a properly-formed string in the Arithmetic expression language. Produces an Expression tree capable of performing arithmetic. Connects the “variable” nodes in this tree to the owning WrapperOptEMultifunc so that their values can be retrieved during expression evaluation inside the WrapperOptEMultifunc functor.

__delattr__

Implement delattr(self, name).

__dir__() → list

default dir() implementation

__eq__

Return self==value.

__format__()

default object formatter

__ge__

Return self>=value.

__getattribute__

Return getattr(self, name).

__gt__

Return self>value.

__hash__

Return hash(self).

__init__(*args, **kwargs)

Overloaded function.

  1. __init__(self: pyrosetta.rosetta.numeric.expression_parser.ExpressionCreator) -> None
  2. __init__(self: pyrosetta.rosetta.numeric.expression_parser.ExpressionCreator, arg0: pyrosetta.rosetta.numeric.expression_parser.ExpressionCreator) -> None
__init_subclass__()

This method is called when a class is subclassed.

The default implementation does nothing. It may be overridden to extend subclasses.

__le__

Return self<=value.

__lt__

Return self<value.

__ne__

Return self!=value.

__new__()

Create and return a new object. See help(type) for accurate signature.

__reduce__()

helper for pickle

__reduce_ex__()

helper for pickle

__repr__

Return repr(self).

__setattr__

Implement setattr(self, name, value).

__sizeof__() → int

size of object in memory, in bytes

__str__

Return str(self).

__subclasshook__()

Abstract classes can override this to customize issubclass().

This is invoked early on by abc.ABCMeta.__subclasscheck__(). It should return True, False or NotImplemented. If it returns NotImplemented, the normal algorithm is used. Otherwise, it overrides the normal algorithm (and the outcome is cached).

assign(self: pyrosetta.rosetta.numeric.expression_parser.ExpressionCreator, : pyrosetta.rosetta.numeric.expression_parser.ExpressionCreator) → pyrosetta.rosetta.numeric.expression_parser.ExpressionCreator

C++: numeric::expression_parser::ExpressionCreator::operator=(const class numeric::expression_parser::ExpressionCreator &) –> class numeric::expression_parser::ExpressionCreator &

create_expression_tree(self: pyrosetta.rosetta.numeric.expression_parser.ExpressionCreator, : pyrosetta.rosetta.numeric.expression_parser.ArithmeticASTExpression) → numeric::expression_parser::Expression

C++: numeric::expression_parser::ExpressionCreator::create_expression_tree(const class numeric::expression_parser::ArithmeticASTExpression &) –> class std::shared_ptr<const class numeric::expression_parser::Expression>

handle_function_expression(self: pyrosetta.rosetta.numeric.expression_parser.ExpressionCreator, function: pyrosetta.rosetta.numeric.expression_parser.FunctionToken, args: pyrosetta.rosetta.utility.vector1_std_shared_ptr_const_numeric_expression_parser_Expression_t) → numeric::expression_parser::Expression
Factory method to be implemented by derived classes
which may wish to handle function expressions in a specific manner

C++: numeric::expression_parser::ExpressionCreator::handle_function_expression(class std::shared_ptr<const class numeric::expression_parser::FunctionToken>, const class utility::vector1<class std::shared_ptr<const class numeric::expression_parser::Expression>, class std::allocator<class std::shared_ptr<const class numeric::expression_parser::Expression> > > &) –> class std::shared_ptr<const class numeric::expression_parser::Expression>

handle_variable_expression(self: pyrosetta.rosetta.numeric.expression_parser.ExpressionCreator, : pyrosetta.rosetta.numeric.expression_parser.ArithmeticASTValue) → numeric::expression_parser::Expression
Factory method to be implemented by derived classes
which may wish to handle variable expressions in a specific manner

C++: numeric::expression_parser::ExpressionCreator::handle_variable_expression(const class numeric::expression_parser::ArithmeticASTValue &) –> class std::shared_ptr<const class numeric::expression_parser::Expression>

visit(*args, **kwargs)

Overloaded function.

  1. visit(self: pyrosetta.rosetta.numeric.expression_parser.ExpressionCreator, : pyrosetta.rosetta.numeric.expression_parser.ArithmeticASTExpression) -> None

C++: numeric::expression_parser::ExpressionCreator::visit(const class numeric::expression_parser::ArithmeticASTExpression &) –> void

  1. visit(self: pyrosetta.rosetta.numeric.expression_parser.ExpressionCreator, : pyrosetta.rosetta.numeric.expression_parser.ArithmeticASTFunction) -> None

C++: numeric::expression_parser::ExpressionCreator::visit(const class numeric::expression_parser::ArithmeticASTFunction &) –> void

  1. visit(self: pyrosetta.rosetta.numeric.expression_parser.ExpressionCreator, : pyrosetta.rosetta.numeric.expression_parser.ArithmeticASTTerm) -> None

C++: numeric::expression_parser::ExpressionCreator::visit(const class numeric::expression_parser::ArithmeticASTTerm &) –> void

  1. visit(self: pyrosetta.rosetta.numeric.expression_parser.ExpressionCreator, : pyrosetta.rosetta.numeric.expression_parser.ArithmeticASTFactor) -> None

C++: numeric::expression_parser::ExpressionCreator::visit(const class numeric::expression_parser::ArithmeticASTFactor &) –> void

  1. visit(self: pyrosetta.rosetta.numeric.expression_parser.ExpressionCreator, : pyrosetta.rosetta.numeric.expression_parser.ArithmeticASTValue) -> None

C++: numeric::expression_parser::ExpressionCreator::visit(const class numeric::expression_parser::ArithmeticASTValue &) –> void

  1. visit(self: pyrosetta.rosetta.numeric.expression_parser.ExpressionCreator, : pyrosetta.rosetta.numeric.expression_parser.ArithmeticASTRestTerm) -> None

C++: numeric::expression_parser::ExpressionCreator::visit(const class numeric::expression_parser::ArithmeticASTRestTerm &) –> void

  1. visit(self: pyrosetta.rosetta.numeric.expression_parser.ExpressionCreator, : pyrosetta.rosetta.numeric.expression_parser.ArithmeticASTRestExpression) -> None

C++: numeric::expression_parser::ExpressionCreator::visit(const class numeric::expression_parser::ArithmeticASTRestExpression &) –> void

  1. visit(self: pyrosetta.rosetta.numeric.expression_parser.ExpressionCreator, : pyrosetta.rosetta.numeric.expression_parser.ArithmeticASTNode) -> None

C++: numeric::expression_parser::ExpressionCreator::visit(const class numeric::expression_parser::ArithmeticASTNode &) –> void

class pyrosetta.rosetta.numeric.expression_parser.GTE_Expression

Bases: pyrosetta.rosetta.numeric.expression_parser.BinaryExpression

Greater Than or Equal To

__call__(self: pyrosetta.rosetta.numeric.expression_parser.GTE_Expression) → float

C++: numeric::expression_parser::GTE_Expression::operator()() const –> double

__delattr__

Implement delattr(self, name).

__dir__() → list

default dir() implementation

__eq__

Return self==value.

__format__()

default object formatter

__ge__

Return self>=value.

__getattribute__

Return getattr(self, name).

__gt__

Return self>value.

__hash__

Return hash(self).

__init__(*args, **kwargs)

Overloaded function.

  1. __init__(self: pyrosetta.rosetta.numeric.expression_parser.GTE_Expression) -> None
  2. __init__(self: pyrosetta.rosetta.numeric.expression_parser.GTE_Expression, e1: pyrosetta.rosetta.numeric.expression_parser.Expression, e2: pyrosetta.rosetta.numeric.expression_parser.Expression) -> None
__init_subclass__()

This method is called when a class is subclassed.

The default implementation does nothing. It may be overridden to extend subclasses.

__le__

Return self<=value.

__lt__

Return self<value.

__ne__

Return self!=value.

__new__()

Create and return a new object. See help(type) for accurate signature.

__reduce__()

helper for pickle

__reduce_ex__()

helper for pickle

__repr__

Return repr(self).

__setattr__

Implement setattr(self, name, value).

__sizeof__() → int

size of object in memory, in bytes

__str__

Return str(self).

__subclasshook__()

Abstract classes can override this to customize issubclass().

This is invoked early on by abc.ABCMeta.__subclasscheck__(). It should return True, False or NotImplemented. If it returns NotImplemented, the normal algorithm is used. Otherwise, it overrides the normal algorithm (and the outcome is cached).

active_variables(self: pyrosetta.rosetta.numeric.expression_parser.BinaryExpression) → pyrosetta.rosetta.std.list_std_string_std_allocator_std_string_t

C++: numeric::expression_parser::BinaryExpression::active_variables() const –> class std::list<std::string, class std::allocator<std::string > >

assign(self: pyrosetta.rosetta.numeric.expression_parser.GTE_Expression, : pyrosetta.rosetta.numeric.expression_parser.GTE_Expression) → pyrosetta.rosetta.numeric.expression_parser.GTE_Expression

C++: numeric::expression_parser::GTE_Expression::operator=(const class numeric::expression_parser::GTE_Expression &) –> class numeric::expression_parser::GTE_Expression &

differentiate(self: pyrosetta.rosetta.numeric.expression_parser.GTE_Expression, varname: str) → pyrosetta.rosetta.numeric.expression_parser.Expression

C++: numeric::expression_parser::GTE_Expression::differentiate(const class std::basic_string<char> &) const –> class std::shared_ptr<const class numeric::expression_parser::Expression>

e1(self: pyrosetta.rosetta.numeric.expression_parser.BinaryExpression) → pyrosetta.rosetta.numeric.expression_parser.Expression

C++: numeric::expression_parser::BinaryExpression::e1() const –> class std::shared_ptr<const class numeric::expression_parser::Expression>

e2(self: pyrosetta.rosetta.numeric.expression_parser.BinaryExpression) → pyrosetta.rosetta.numeric.expression_parser.Expression

C++: numeric::expression_parser::BinaryExpression::e2() const –> class std::shared_ptr<const class numeric::expression_parser::Expression>

set_first_expression(self: pyrosetta.rosetta.numeric.expression_parser.BinaryExpression, e1: pyrosetta.rosetta.numeric.expression_parser.Expression) → None

C++: numeric::expression_parser::BinaryExpression::set_first_expression(class std::shared_ptr<const class numeric::expression_parser::Expression>) –> void

set_second_expression(self: pyrosetta.rosetta.numeric.expression_parser.BinaryExpression, e2: pyrosetta.rosetta.numeric.expression_parser.Expression) → None

C++: numeric::expression_parser::BinaryExpression::set_second_expression(class std::shared_ptr<const class numeric::expression_parser::Expression>) –> void

class pyrosetta.rosetta.numeric.expression_parser.GT_Expression

Bases: pyrosetta.rosetta.numeric.expression_parser.BinaryExpression

Greater Than

__call__(self: pyrosetta.rosetta.numeric.expression_parser.GT_Expression) → float

C++: numeric::expression_parser::GT_Expression::operator()() const –> double

__delattr__

Implement delattr(self, name).

__dir__() → list

default dir() implementation

__eq__

Return self==value.

__format__()

default object formatter

__ge__

Return self>=value.

__getattribute__

Return getattr(self, name).

__gt__

Return self>value.

__hash__

Return hash(self).

__init__(*args, **kwargs)

Overloaded function.

  1. __init__(self: pyrosetta.rosetta.numeric.expression_parser.GT_Expression) -> None
  2. __init__(self: pyrosetta.rosetta.numeric.expression_parser.GT_Expression, e1: pyrosetta.rosetta.numeric.expression_parser.Expression, e2: pyrosetta.rosetta.numeric.expression_parser.Expression) -> None
__init_subclass__()

This method is called when a class is subclassed.

The default implementation does nothing. It may be overridden to extend subclasses.

__le__

Return self<=value.

__lt__

Return self<value.

__ne__

Return self!=value.

__new__()

Create and return a new object. See help(type) for accurate signature.

__reduce__()

helper for pickle

__reduce_ex__()

helper for pickle

__repr__

Return repr(self).

__setattr__

Implement setattr(self, name, value).

__sizeof__() → int

size of object in memory, in bytes

__str__

Return str(self).

__subclasshook__()

Abstract classes can override this to customize issubclass().

This is invoked early on by abc.ABCMeta.__subclasscheck__(). It should return True, False or NotImplemented. If it returns NotImplemented, the normal algorithm is used. Otherwise, it overrides the normal algorithm (and the outcome is cached).

active_variables(self: pyrosetta.rosetta.numeric.expression_parser.BinaryExpression) → pyrosetta.rosetta.std.list_std_string_std_allocator_std_string_t

C++: numeric::expression_parser::BinaryExpression::active_variables() const –> class std::list<std::string, class std::allocator<std::string > >

assign(self: pyrosetta.rosetta.numeric.expression_parser.GT_Expression, : pyrosetta.rosetta.numeric.expression_parser.GT_Expression) → pyrosetta.rosetta.numeric.expression_parser.GT_Expression

C++: numeric::expression_parser::GT_Expression::operator=(const class numeric::expression_parser::GT_Expression &) –> class numeric::expression_parser::GT_Expression &

differentiate(self: pyrosetta.rosetta.numeric.expression_parser.GT_Expression, varname: str) → pyrosetta.rosetta.numeric.expression_parser.Expression

C++: numeric::expression_parser::GT_Expression::differentiate(const class std::basic_string<char> &) const –> class std::shared_ptr<const class numeric::expression_parser::Expression>

e1(self: pyrosetta.rosetta.numeric.expression_parser.BinaryExpression) → pyrosetta.rosetta.numeric.expression_parser.Expression

C++: numeric::expression_parser::BinaryExpression::e1() const –> class std::shared_ptr<const class numeric::expression_parser::Expression>

e2(self: pyrosetta.rosetta.numeric.expression_parser.BinaryExpression) → pyrosetta.rosetta.numeric.expression_parser.Expression

C++: numeric::expression_parser::BinaryExpression::e2() const –> class std::shared_ptr<const class numeric::expression_parser::Expression>

set_first_expression(self: pyrosetta.rosetta.numeric.expression_parser.BinaryExpression, e1: pyrosetta.rosetta.numeric.expression_parser.Expression) → None

C++: numeric::expression_parser::BinaryExpression::set_first_expression(class std::shared_ptr<const class numeric::expression_parser::Expression>) –> void

set_second_expression(self: pyrosetta.rosetta.numeric.expression_parser.BinaryExpression, e2: pyrosetta.rosetta.numeric.expression_parser.Expression) → None

C++: numeric::expression_parser::BinaryExpression::set_second_expression(class std::shared_ptr<const class numeric::expression_parser::Expression>) –> void

class pyrosetta.rosetta.numeric.expression_parser.LTE_Expression

Bases: pyrosetta.rosetta.numeric.expression_parser.BinaryExpression

Less Than or Equal To

__call__(self: pyrosetta.rosetta.numeric.expression_parser.LTE_Expression) → float

C++: numeric::expression_parser::LTE_Expression::operator()() const –> double

__delattr__

Implement delattr(self, name).

__dir__() → list

default dir() implementation

__eq__

Return self==value.

__format__()

default object formatter

__ge__

Return self>=value.

__getattribute__

Return getattr(self, name).

__gt__

Return self>value.

__hash__

Return hash(self).

__init__(*args, **kwargs)

Overloaded function.

  1. __init__(self: pyrosetta.rosetta.numeric.expression_parser.LTE_Expression) -> None
  2. __init__(self: pyrosetta.rosetta.numeric.expression_parser.LTE_Expression, e1: pyrosetta.rosetta.numeric.expression_parser.Expression, e2: pyrosetta.rosetta.numeric.expression_parser.Expression) -> None
__init_subclass__()

This method is called when a class is subclassed.

The default implementation does nothing. It may be overridden to extend subclasses.

__le__

Return self<=value.

__lt__

Return self<value.

__ne__

Return self!=value.

__new__()

Create and return a new object. See help(type) for accurate signature.

__reduce__()

helper for pickle

__reduce_ex__()

helper for pickle

__repr__

Return repr(self).

__setattr__

Implement setattr(self, name, value).

__sizeof__() → int

size of object in memory, in bytes

__str__

Return str(self).

__subclasshook__()

Abstract classes can override this to customize issubclass().

This is invoked early on by abc.ABCMeta.__subclasscheck__(). It should return True, False or NotImplemented. If it returns NotImplemented, the normal algorithm is used. Otherwise, it overrides the normal algorithm (and the outcome is cached).

active_variables(self: pyrosetta.rosetta.numeric.expression_parser.BinaryExpression) → pyrosetta.rosetta.std.list_std_string_std_allocator_std_string_t

C++: numeric::expression_parser::BinaryExpression::active_variables() const –> class std::list<std::string, class std::allocator<std::string > >

assign(self: pyrosetta.rosetta.numeric.expression_parser.LTE_Expression, : pyrosetta.rosetta.numeric.expression_parser.LTE_Expression) → pyrosetta.rosetta.numeric.expression_parser.LTE_Expression

C++: numeric::expression_parser::LTE_Expression::operator=(const class numeric::expression_parser::LTE_Expression &) –> class numeric::expression_parser::LTE_Expression &

differentiate(self: pyrosetta.rosetta.numeric.expression_parser.LTE_Expression, varname: str) → pyrosetta.rosetta.numeric.expression_parser.Expression

C++: numeric::expression_parser::LTE_Expression::differentiate(const class std::basic_string<char> &) const –> class std::shared_ptr<const class numeric::expression_parser::Expression>

e1(self: pyrosetta.rosetta.numeric.expression_parser.BinaryExpression) → pyrosetta.rosetta.numeric.expression_parser.Expression

C++: numeric::expression_parser::BinaryExpression::e1() const –> class std::shared_ptr<const class numeric::expression_parser::Expression>

e2(self: pyrosetta.rosetta.numeric.expression_parser.BinaryExpression) → pyrosetta.rosetta.numeric.expression_parser.Expression

C++: numeric::expression_parser::BinaryExpression::e2() const –> class std::shared_ptr<const class numeric::expression_parser::Expression>

set_first_expression(self: pyrosetta.rosetta.numeric.expression_parser.BinaryExpression, e1: pyrosetta.rosetta.numeric.expression_parser.Expression) → None

C++: numeric::expression_parser::BinaryExpression::set_first_expression(class std::shared_ptr<const class numeric::expression_parser::Expression>) –> void

set_second_expression(self: pyrosetta.rosetta.numeric.expression_parser.BinaryExpression, e2: pyrosetta.rosetta.numeric.expression_parser.Expression) → None

C++: numeric::expression_parser::BinaryExpression::set_second_expression(class std::shared_ptr<const class numeric::expression_parser::Expression>) –> void

class pyrosetta.rosetta.numeric.expression_parser.LT_Expression

Bases: pyrosetta.rosetta.numeric.expression_parser.BinaryExpression

Less Than

__call__(self: pyrosetta.rosetta.numeric.expression_parser.LT_Expression) → float

C++: numeric::expression_parser::LT_Expression::operator()() const –> double

__delattr__

Implement delattr(self, name).

__dir__() → list

default dir() implementation

__eq__

Return self==value.

__format__()

default object formatter

__ge__

Return self>=value.

__getattribute__

Return getattr(self, name).

__gt__

Return self>value.

__hash__

Return hash(self).

__init__(*args, **kwargs)

Overloaded function.

  1. __init__(self: pyrosetta.rosetta.numeric.expression_parser.LT_Expression) -> None
  2. __init__(self: pyrosetta.rosetta.numeric.expression_parser.LT_Expression, e1: pyrosetta.rosetta.numeric.expression_parser.Expression, e2: pyrosetta.rosetta.numeric.expression_parser.Expression) -> None
__init_subclass__()

This method is called when a class is subclassed.

The default implementation does nothing. It may be overridden to extend subclasses.

__le__

Return self<=value.

__lt__

Return self<value.

__ne__

Return self!=value.

__new__()

Create and return a new object. See help(type) for accurate signature.

__reduce__()

helper for pickle

__reduce_ex__()

helper for pickle

__repr__

Return repr(self).

__setattr__

Implement setattr(self, name, value).

__sizeof__() → int

size of object in memory, in bytes

__str__

Return str(self).

__subclasshook__()

Abstract classes can override this to customize issubclass().

This is invoked early on by abc.ABCMeta.__subclasscheck__(). It should return True, False or NotImplemented. If it returns NotImplemented, the normal algorithm is used. Otherwise, it overrides the normal algorithm (and the outcome is cached).

active_variables(self: pyrosetta.rosetta.numeric.expression_parser.BinaryExpression) → pyrosetta.rosetta.std.list_std_string_std_allocator_std_string_t

C++: numeric::expression_parser::BinaryExpression::active_variables() const –> class std::list<std::string, class std::allocator<std::string > >

assign(self: pyrosetta.rosetta.numeric.expression_parser.LT_Expression, : pyrosetta.rosetta.numeric.expression_parser.LT_Expression) → pyrosetta.rosetta.numeric.expression_parser.LT_Expression

C++: numeric::expression_parser::LT_Expression::operator=(const class numeric::expression_parser::LT_Expression &) –> class numeric::expression_parser::LT_Expression &

differentiate(self: pyrosetta.rosetta.numeric.expression_parser.LT_Expression, varname: str) → pyrosetta.rosetta.numeric.expression_parser.Expression

C++: numeric::expression_parser::LT_Expression::differentiate(const class std::basic_string<char> &) const –> class std::shared_ptr<const class numeric::expression_parser::Expression>

e1(self: pyrosetta.rosetta.numeric.expression_parser.BinaryExpression) → pyrosetta.rosetta.numeric.expression_parser.Expression

C++: numeric::expression_parser::BinaryExpression::e1() const –> class std::shared_ptr<const class numeric::expression_parser::Expression>

e2(self: pyrosetta.rosetta.numeric.expression_parser.BinaryExpression) → pyrosetta.rosetta.numeric.expression_parser.Expression

C++: numeric::expression_parser::BinaryExpression::e2() const –> class std::shared_ptr<const class numeric::expression_parser::Expression>

set_first_expression(self: pyrosetta.rosetta.numeric.expression_parser.BinaryExpression, e1: pyrosetta.rosetta.numeric.expression_parser.Expression) → None

C++: numeric::expression_parser::BinaryExpression::set_first_expression(class std::shared_ptr<const class numeric::expression_parser::Expression>) –> void

set_second_expression(self: pyrosetta.rosetta.numeric.expression_parser.BinaryExpression, e2: pyrosetta.rosetta.numeric.expression_parser.Expression) → None

C++: numeric::expression_parser::BinaryExpression::set_second_expression(class std::shared_ptr<const class numeric::expression_parser::Expression>) –> void

class pyrosetta.rosetta.numeric.expression_parser.MetaMaxExpression

Bases: pyrosetta.rosetta.numeric.expression_parser.Expression

Evaluates ee1 when e1 is larger than e2; evaluates ee2 otherwise.

__call__(self: pyrosetta.rosetta.numeric.expression_parser.MetaMaxExpression) → float

C++: numeric::expression_parser::MetaMaxExpression::operator()() const –> double

__delattr__

Implement delattr(self, name).

__dir__() → list

default dir() implementation

__eq__

Return self==value.

__format__()

default object formatter

__ge__

Return self>=value.

__getattribute__

Return getattr(self, name).

__gt__

Return self>value.

__hash__

Return hash(self).

__init__(self: pyrosetta.rosetta.numeric.expression_parser.MetaMaxExpression, e1: pyrosetta.rosetta.numeric.expression_parser.Expression, e2: pyrosetta.rosetta.numeric.expression_parser.Expression, ee1: pyrosetta.rosetta.numeric.expression_parser.Expression, ee2: pyrosetta.rosetta.numeric.expression_parser.Expression) → None
__init_subclass__()

This method is called when a class is subclassed.

The default implementation does nothing. It may be overridden to extend subclasses.

__le__

Return self<=value.

__lt__

Return self<value.

__ne__

Return self!=value.

__new__()

Create and return a new object. See help(type) for accurate signature.

__reduce__()

helper for pickle

__reduce_ex__()

helper for pickle

__repr__

Return repr(self).

__setattr__

Implement setattr(self, name, value).

__sizeof__() → int

size of object in memory, in bytes

__str__

Return str(self).

__subclasshook__()

Abstract classes can override this to customize issubclass().

This is invoked early on by abc.ABCMeta.__subclasscheck__(). It should return True, False or NotImplemented. If it returns NotImplemented, the normal algorithm is used. Otherwise, it overrides the normal algorithm (and the outcome is cached).

active_variables(self: pyrosetta.rosetta.numeric.expression_parser.MetaMaxExpression) → pyrosetta.rosetta.std.list_std_string_std_allocator_std_string_t

C++: numeric::expression_parser::MetaMaxExpression::active_variables() const –> class std::list<std::string, class std::allocator<std::string > >

assign(self: pyrosetta.rosetta.numeric.expression_parser.MetaMaxExpression, : pyrosetta.rosetta.numeric.expression_parser.MetaMaxExpression) → pyrosetta.rosetta.numeric.expression_parser.MetaMaxExpression

C++: numeric::expression_parser::MetaMaxExpression::operator=(const class numeric::expression_parser::MetaMaxExpression &) –> class numeric::expression_parser::MetaMaxExpression &

differentiate(self: pyrosetta.rosetta.numeric.expression_parser.MetaMaxExpression, varname: str) → pyrosetta.rosetta.numeric.expression_parser.Expression

C++: numeric::expression_parser::MetaMaxExpression::differentiate(const class std::basic_string<char> &) const –> class std::shared_ptr<const class numeric::expression_parser::Expression>

class pyrosetta.rosetta.numeric.expression_parser.MetaMinExpression

Bases: pyrosetta.rosetta.numeric.expression_parser.Expression

Evaluates ee1 when e1 is less than e2; evaluates ee2 otherwise.

__call__(self: pyrosetta.rosetta.numeric.expression_parser.MetaMinExpression) → float

C++: numeric::expression_parser::MetaMinExpression::operator()() const –> double

__delattr__

Implement delattr(self, name).

__dir__() → list

default dir() implementation

__eq__

Return self==value.

__format__()

default object formatter

__ge__

Return self>=value.

__getattribute__

Return getattr(self, name).

__gt__

Return self>value.

__hash__

Return hash(self).

__init__(self: pyrosetta.rosetta.numeric.expression_parser.MetaMinExpression, e1: pyrosetta.rosetta.numeric.expression_parser.Expression, e2: pyrosetta.rosetta.numeric.expression_parser.Expression, ee1: pyrosetta.rosetta.numeric.expression_parser.Expression, ee2: pyrosetta.rosetta.numeric.expression_parser.Expression) → None
__init_subclass__()

This method is called when a class is subclassed.

The default implementation does nothing. It may be overridden to extend subclasses.

__le__

Return self<=value.

__lt__

Return self<value.

__ne__

Return self!=value.

__new__()

Create and return a new object. See help(type) for accurate signature.

__reduce__()

helper for pickle

__reduce_ex__()

helper for pickle

__repr__

Return repr(self).

__setattr__

Implement setattr(self, name, value).

__sizeof__() → int

size of object in memory, in bytes

__str__

Return str(self).

__subclasshook__()

Abstract classes can override this to customize issubclass().

This is invoked early on by abc.ABCMeta.__subclasscheck__(). It should return True, False or NotImplemented. If it returns NotImplemented, the normal algorithm is used. Otherwise, it overrides the normal algorithm (and the outcome is cached).

active_variables(self: pyrosetta.rosetta.numeric.expression_parser.MetaMinExpression) → pyrosetta.rosetta.std.list_std_string_std_allocator_std_string_t

C++: numeric::expression_parser::MetaMinExpression::active_variables() const –> class std::list<std::string, class std::allocator<std::string > >

assign(self: pyrosetta.rosetta.numeric.expression_parser.MetaMinExpression, : pyrosetta.rosetta.numeric.expression_parser.MetaMinExpression) → pyrosetta.rosetta.numeric.expression_parser.MetaMinExpression

C++: numeric::expression_parser::MetaMinExpression::operator=(const class numeric::expression_parser::MetaMinExpression &) –> class numeric::expression_parser::MetaMinExpression &

differentiate(self: pyrosetta.rosetta.numeric.expression_parser.MetaMinExpression, varname: str) → pyrosetta.rosetta.numeric.expression_parser.Expression

C++: numeric::expression_parser::MetaMinExpression::differentiate(const class std::basic_string<char> &) const –> class std::shared_ptr<const class numeric::expression_parser::Expression>

pyrosetta.rosetta.numeric.expression_parser.parse_string_to_boolean_expression(input_string: str) → pyrosetta.rosetta.numeric.expression_parser.Expression

C++: numeric::expression_parser::parse_string_to_boolean_expression(const class std::basic_string<char> &) –> class std::shared_ptr<const class numeric::expression_parser::Expression>

pyrosetta.rosetta.numeric.expression_parser.parse_string_to_expression(input_string: str) → pyrosetta.rosetta.numeric.expression_parser.Expression

C++: numeric::expression_parser::parse_string_to_expression(const class std::basic_string<char> &) –> class std::shared_ptr<const class numeric::expression_parser::Expression>

pyrosetta.rosetta.numeric.expression_parser.token_type_name(: pyrosetta.rosetta.numeric.expression_parser.TokenType) → str

C++: numeric::expression_parser::token_type_name(enum numeric::expression_parser::TokenType) –> std::string