41 void print(
int mode = 0,
42 std::ostream& out = std::cout,
43 bool lib =
false)
const override;
45 std::string
printLaTeX(
int mode = 0)
const override;
48 csl::eval::mode user_mode = csl::eval::base
51 unique_Expr copy_unique()
const override;
53 Expr deepCopy()
const override;
55 Expr refresh()
const override;
57 Expr deepRefresh()
const override;
65 std::map<Index, Index>& constraints,
66 bool keepAllCosntraints =
false)
const override;
Namespace for csl library.
Definition: abreviation.h:34
Handle functions of multiple arguments. In the case of the call of a simplification function...
Definition: scalarFunc.h:199
bool compareWithDummy(Expr_info expr, std::map< Index, Index > &constraints, bool keepAllCosntraints=false) const override
Comparison disregarding name of dummy indices, i.e. the two expressions * are equals even if dummy in...
Definition: scalar.cpp:119
csl::Type getType() const override
Gives the type of Abstract.
Definition: scalar.cpp:35
Type
Enum of the different types of Abstract (i.e. list of all possible specializations).
Definition: enum.h:47
std::string printLaTeX(int mode=0) const override
Creates a LaTeX output for the Abstract.
Definition: scalar.cpp:58
bool operator==(Expr_info other) const override
Compares the Abstract with another.
Definition: scalar.cpp:151
bool operator<(Expr_info other) const override
Compares the simplicity of the expression to another.
Definition: simplification.cpp:841
bool isIndexed() const override
Definition: scalar.cpp:109
Root class of the inheritance tree of abstracts.
Definition: abstract.h:76
IndexStructure getIndexStructure() const override
Definition: scalar.cpp:114
Base classes for scalar functions.
std::optional< Expr > evaluate(csl::eval::mode user_mode=csl::eval::base) const override
Evaluates the Abstract.
Definition: scalar.cpp:72
Manages a std::vector of Index, to be used by an TensorElement.
Definition: index.h:472
void print(int mode=0, std::ostream &out=std::cout, bool lib=false) const override
Displays the abstract in standard output.
Definition: scalar.cpp:40
Expression type/.
Definition: abstract.h:1573