File:  [CENS] / python / pyGiNaC / wrappers4 / power.cpp
Revision 1.1: download - view: text, annotated - select for diffs - revision graph
Sat Aug 18 19:10:17 2001 UTC (16 years, 3 months ago) by pearu
Branches: MAIN
CVS tags: HEAD
Impl. add,mul,power

/*
  This file is part of the PyGiNaC package.
  http://cens.ioc.ee/projects/pyginac/

  $Revision: 1.1 $
  $Id: power.cpp,v 1.1 2001-08-18 19:10:17 pearu Exp $
 
  Copyright 2001 Pearu Peterson all rights reserved,
  Pearu Peterson <pearu@cens.ioc.ee>
  Permission to use, modify, and distribute this software is given under the
  terms of the LGPL.  See http://www.fsf.org
 
  NO WARRANTY IS EXPRESSED OR IMPLIED.  USE AT YOUR OWN RISK.
*/

#ifndef PYGINAC_POWER_CPP
#define PYGINAC_POWER_CPP
/* prototypes */
GiNaC::ex power(const GiNaC::ex &, const GiNaC::ex &);
#else
#ifndef PYGINAC_POWER_CPP_1
#define PYGINAC_POWER_CPP_1
/* definitions */
this_module.def(power, "power");
#else
/* implementation */
GiNaC::ex power(const GiNaC::ex & b, const GiNaC::ex & e) {
  return GiNaC::power(b,e);
}
#endif
#endif

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>