[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Freepooma-devel] Using operator + in Interval
From: |
Felipe Sodré Silva |
Subject: |
[Freepooma-devel] Using operator + in Interval |
Date: |
Thu, 16 Feb 2006 19:59:42 -0200 |
I'm trying to do something like this on a Vector<5, Vector<5> >
Interval<1> I<6>, J<4,10>
v(I)(J) = (*x)(I-1) + (*y)(J+1)
where x and y are pointers to a Vector object
The compiler is giving me message errors saying that "there's no match for
operator- in I - 1"
Could anyone help me with this ?
Thanks in advance
--
+++++++++++++++++++++++++++++++
Felipe Sodré S. Silva
Computer Engineering - UNICAMP
Phones:
+ 55 11 39987624 (São Paulo)
+ 55 11 96041118 (Cel phone)
+ 55 19 32880803 (Campinas)
ICQ# 41688167
MSN: address@hidden
E-mail: address@hidden
address@hidden
++++++++++++++++++++++++++++++
- [Freepooma-devel] Using operator + in Interval,
Felipe Sodré Silva <=