add.cpp File Reference

Definitions for arithmatic. More...

#include <symengine/add.h>
#include <symengine/pow.h>
#include <symengine/complex.h>
+ Include dependency graph for add.cpp:

Go to the source code of this file.

Namespaces

 SymEngine
 Main namespace for SymEngine package.
 

Functions

RCP< const Basic > SymEngine::add (const RCP< const Basic > &a, const RCP< const Basic > &b)
 Adds two objects (safely). More...
 
RCP< const Basic > SymEngine::add (const vec_basic &a)
 Sums the elements of a vector. More...
 
RCP< const Basic > SymEngine::sub (const RCP< const Basic > &a, const RCP< const Basic > &b)
 Substracts b from a. More...
 

Detailed Description

Definitions for arithmatic.

Author
SymEngine Developers
Date
2021-02-25

Created on: 2012-07-11

This file contains the basic binary operations defined for symbolic enties. In particular the Add class for representing addition is defined here, along with the add and substract functions.

Definition in file add.cpp.