File:  [CENS] / python / pyGiNaC / ginac_test / test_pseries_is_zero.cpp
Revision 1.1: download - view: text, annotated - select for diffs - revision graph
Tue Nov 27 18:41:06 2001 UTC (15 years, 11 months ago) by pearu
Branches: MAIN
CVS tags: HEAD
Implemented pseries.

#include <iostream>
#include <ginac/ginac.h>
using namespace std;
using namespace GiNaC;

int main()
{
  symbol x("x");
  ex p = (numeric(0)).series(x==numeric(0),3);
  cout << "p=" << p << endl;
  cout << "p.is_zero()=" << p.is_zero() << endl;
  return 0;
}


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