add.h File Reference

Classes and functions relating to the binary operation of addition. More...

`#include <symengine/basic.h>`

Include dependency graph for add.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

## Data Structures | |

class | SymEngine::Add |

The base class for representing addition in symbolic expressions. More... | |

## 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... | |

Classes and functions relating to the binary operation of addition.

- 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 **declared** here, along with the `add`

and `substract`

functions.

Definition in file add.h.