Loading...
Searching...
No Matches
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

namespace  SymEngine
 Main namespace for SymEngine package.
 

Functions

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

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.