GiNaC 1.8.7
Namespaces | Enumerations | Functions
operators.cpp File Reference

Implementation of GiNaC's overloaded operators. More...

#include "operators.h"
#include "numeric.h"
#include "add.h"
#include "mul.h"
#include "power.h"
#include "ncmul.h"
#include "relational.h"
#include "print.h"
#include "utils.h"
#include <iostream>

Go to the source code of this file.

Namespaces

namespace  GiNaC
 

Enumerations

enum  { GiNaC::callback_registered = 1 }
 

Functions

static const ex GiNaC::exadd (const ex &lh, const ex &rh)
 Used internally by operator+() to add two ex objects. More...
 
static const ex GiNaC::exmul (const ex &lh, const ex &rh)
 Used internally by operator*() to multiply two ex objects. More...
 
static const ex GiNaC::exminus (const ex &lh)
 Used internally by operator-() and friends to change the sign of an argument. More...
 
const ex GiNaC::operator+ (const ex &lh, const ex &rh)
 
const ex GiNaC::operator- (const ex &lh, const ex &rh)
 
const ex GiNaC::operator* (const ex &lh, const ex &rh)
 
const ex GiNaC::operator/ (const ex &lh, const ex &rh)
 
const numeric GiNaC::operator+ (const numeric &lh, const numeric &rh)
 
const numeric GiNaC::operator- (const numeric &lh, const numeric &rh)
 
const numeric GiNaC::operator* (const numeric &lh, const numeric &rh)
 
const numeric GiNaC::operator/ (const numeric &lh, const numeric &rh)
 
ex & GiNaC::operator+= (ex &lh, const ex &rh)
 
ex & GiNaC::operator-= (ex &lh, const ex &rh)
 
ex & GiNaC::operator*= (ex &lh, const ex &rh)
 
ex & GiNaC::operator/= (ex &lh, const ex &rh)
 
numeric & GiNaC::operator+= (numeric &lh, const numeric &rh)
 
numeric & GiNaC::operator-= (numeric &lh, const numeric &rh)
 
numeric & GiNaC::operator*= (numeric &lh, const numeric &rh)
 
numeric & GiNaC::operator/= (numeric &lh, const numeric &rh)
 
const ex GiNaC::operator+ (const ex &lh)
 
const ex GiNaC::operator- (const ex &lh)
 
const numeric GiNaC::operator+ (const numeric &lh)
 
const numeric GiNaC::operator- (const numeric &lh)
 
ex & GiNaC::operator++ (ex &rh)
 Expression prefix increment. More...
 
ex & GiNaC::operator-- (ex &rh)
 Expression prefix decrement. More...
 
const ex GiNaC::operator++ (ex &lh, int)
 Expression postfix increment. More...
 
const ex GiNaC::operator-- (ex &lh, int)
 Expression postfix decrement. More...
 
numeric & GiNaC::operator++ (numeric &rh)
 Numeric prefix increment. More...
 
numeric & GiNaC::operator-- (numeric &rh)
 Numeric prefix decrement. More...
 
const numeric GiNaC::operator++ (numeric &lh, int)
 Numeric postfix increment. More...
 
const numeric GiNaC::operator-- (numeric &lh, int)
 Numeric postfix decrement. More...
 
const relational GiNaC::operator== (const ex &lh, const ex &rh)
 
const relational GiNaC::operator!= (const ex &lh, const ex &rh)
 
const relational GiNaC::operator< (const ex &lh, const ex &rh)
 
const relational GiNaC::operator<= (const ex &lh, const ex &rh)
 
const relational GiNaC::operator> (const ex &lh, const ex &rh)
 
const relational GiNaC::operator>= (const ex &lh, const ex &rh)
 
static int GiNaC::my_ios_index ()
 
static void GiNaC::my_ios_callback (std::ios_base::event ev, std::ios_base &s, int i)
 
static print_context * GiNaC::get_print_context (std::ios_base &s)
 
static void GiNaC::set_print_context (std::ios_base &s, const print_context &c)
 
static unsigned GiNaC::get_print_options (std::ios_base &s)
 
static void GiNaC::set_print_options (std::ostream &s, unsigned options)
 
std::ostream & GiNaC::operator<< (std::ostream &os, const ex &e)
 
std::ostream & GiNaC::operator<< (std::ostream &os, const exvector &e)
 
std::ostream & GiNaC::operator<< (std::ostream &os, const exset &e)
 
std::ostream & GiNaC::operator<< (std::ostream &os, const exmap &e)
 
std::istream & GiNaC::operator>> (std::istream &is, ex &e)
 
std::ostream & GiNaC::dflt (std::ostream &os)
 
std::ostream & GiNaC::latex (std::ostream &os)
 
std::ostream & GiNaC::python (std::ostream &os)
 
std::ostream & GiNaC::python_repr (std::ostream &os)
 
std::ostream & GiNaC::tree (std::ostream &os)
 
std::ostream & GiNaC::csrc (std::ostream &os)
 
std::ostream & GiNaC::csrc_float (std::ostream &os)
 
std::ostream & GiNaC::csrc_double (std::ostream &os)
 
std::ostream & GiNaC::csrc_cl_N (std::ostream &os)
 
std::ostream & GiNaC::index_dimensions (std::ostream &os)
 
std::ostream & GiNaC::no_index_dimensions (std::ostream &os)
 

Detailed Description

Implementation of GiNaC's overloaded operators.

Definition in file operators.cpp.


This page is part of the GiNaC developer's reference. It was generated automatically by doxygen. For an introduction, see the tutorial.