| 1 |
/** @file idx.h |
/** @file idx.h |
| 2 |
* |
* |
| 3 |
* Interface to GiNaC's indices. */ |
* Interface to GiNaC's indices. |
| 4 |
|
* |
| 5 |
|
* GiNaC Copyright (C) 1999 Johannes Gutenberg University Mainz, Germany |
| 6 |
|
* |
| 7 |
|
* This program is free software; you can redistribute it and/or modify |
| 8 |
|
* it under the terms of the GNU General Public License as published by |
| 9 |
|
* the Free Software Foundation; either version 2 of the License, or |
| 10 |
|
* (at your option) any later version. |
| 11 |
|
* |
| 12 |
|
* This program is distributed in the hope that it will be useful, |
| 13 |
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 14 |
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 15 |
|
* GNU General Public License for more details. |
| 16 |
|
* |
| 17 |
|
* You should have received a copy of the GNU General Public License |
| 18 |
|
* along with this program; if not, write to the Free Software |
| 19 |
|
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
| 20 |
|
*/ |
| 21 |
|
|
| 22 |
#ifndef _IDX_H_ |
#ifndef __GINAC_IDX_H__ |
| 23 |
#define _IDX_H_ |
#define __GINAC_IDX_H__ |
| 24 |
|
|
| 25 |
#include <string> |
#include <string> |
| 26 |
#include <vector> |
#include <vector> |
| 27 |
|
|
|
#include "basic.h" |
|
|
|
|
| 28 |
class idx : public basic |
class idx : public basic |
| 29 |
{ |
{ |
| 30 |
// member functions |
// member functions |
| 102 |
exvector const & idxv_co); |
exvector const & idxv_co); |
| 103 |
unsigned count_index(ex const & e, ex const & i); |
unsigned count_index(ex const & e, ex const & i); |
| 104 |
|
|
| 105 |
#endif // ndef _IDX_H_ |
#endif // ndef __GINAC_IDX_H__ |