[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Toon-members] TooN/internal vector.hh
From: |
Tom Drummond |
Subject: |
[Toon-members] TooN/internal vector.hh |
Date: |
Wed, 29 Apr 2009 23:02:59 +0000 |
CVSROOT: /cvsroot/toon
Module name: TooN
Changes by: Tom Drummond <twd20> 09/04/29 23:02:58
Modified files:
internal : vector.hh
Log message:
minor doc fixes
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/TooN/internal/vector.hh?cvsroot=toon&r1=1.44&r2=1.45
Patches:
Index: vector.hh
===================================================================
RCS file: /cvsroot/toon/TooN/internal/vector.hh,v
retrieving revision 1.44
retrieving revision 1.45
diff -u -b -r1.44 -r1.45
--- vector.hh 29 Apr 2009 22:45:53 -0000 1.44
+++ vector.hh 29 Apr 2009 23:02:58 -0000 1.45
@@ -385,7 +385,7 @@
@code
Vector<5> a = makeVector(1,2,3,4,5);
Extract the three elements starting from element 2
- Vector<3> b = a.slice(2,3); /// b = [3 4 5]
+ Vector<> b = a.slice(2,3); /// b = [3 4 5]
@endcode
*/
template<Start, Length>
@@ -403,7 +403,7 @@
@endcode
*/
template<Start, Length>
- const Vector<Length,Precision>& slice() const;
+ Vector<Length,Precision>& slice();
//@}
#endif