File:  [CENS] / python / pyGiNaC / ginac_test / test_power_unit.cpp
Revision 1.1: download - view: text, annotated - select for diffs - revision graph
Mon Nov 26 22:37:44 2001 UTC (16 years ago) by pearu
Branches: MAIN
CVS tags: HEAD
See NEWS.txt (impl. matrix)

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

int main()
{
    symbol a("a"),b("b");
    ex e = power(a,b);
    cout << "e="<<e<< endl;
    cout << "e.unit(a)="<<e.unit(a)<< endl;
    return 0;
}


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