File:  [CENS] / python / pyGiNaC / wrappers4 / funcs.cpp
Revision 1.1: download - view: text, annotated - select for diffs - revision graph
Fri Mar 22 20:47:30 2002 UTC (15 years, 8 months ago) by pearu
Branches: MAIN
CVS tags: HEAD
missing file

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

  $Revision: 1.1 $
  $Id: funcs.cpp,v 1.1 2002-03-22 20:47:30 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_FUNCS_CPP
#define PYGINAC_FUNCS_CPP
/* prototypes */
GiNaC::ex sqrfree (const GiNaC::ex & a, const GiNaC::lst & l);
#else
#ifndef PYGINAC_FUNCS_CPP_1
#define PYGINAC_FUNCS_CPP_1
/* definitions */
this_module.def(sqrfree, "sqrfree");
this_module.def(GiNaC::decomp_rational, "decomp_rational");
#else
/* implementation */
GiNaC::ex sqrfree (const GiNaC::ex & a, const GiNaC::lst & l) {
  return GiNaC::sqrfree(a,l);
}

#endif
#endif

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