[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Toon-members] TooN Makefile.in doc/documentation.h
From: |
Edward Rosten |
Subject: |
[Toon-members] TooN Makefile.in doc/documentation.h |
Date: |
Mon, 20 Apr 2009 17:29:32 +0000 |
CVSROOT: /cvsroot/toon
Module name: TooN
Changes by: Edward Rosten <edrosten> 09/04/20 17:29:32
Modified files:
. : Makefile.in
doc : documentation.h
Log message:
Documentation tweak.
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/TooN/Makefile.in?cvsroot=toon&r1=1.6&r2=1.7
http://cvs.savannah.gnu.org/viewcvs/TooN/doc/documentation.h?cvsroot=toon&r1=1.17&r2=1.18
Patches:
Index: Makefile.in
===================================================================
RCS file: /cvsroot/toon/TooN/Makefile.in,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -b -r1.6 -r1.7
--- Makefile.in 5 Mar 2009 16:54:23 -0000 1.6
+++ Makefile.in 20 Apr 2009 17:29:32 -0000 1.7
@@ -25,4 +25,4 @@
rm -rf html
docs:
- doxygen doc/Doxyfile
+ doxygen
Index: doc/documentation.h
===================================================================
RCS file: /cvsroot/toon/TooN/doc/documentation.h,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -b -r1.17 -r1.18
--- doc/documentation.h 16 Apr 2009 17:59:09 -0000 1.17
+++ doc/documentation.h 20 Apr 2009 17:29:32 -0000 1.18
@@ -340,9 +340,9 @@
v = unit(v);
@endcode
produces exactly the same compiler output as the hypothetical
- <code>Normalize(v)</code> which operates in place. Consult the
ChangeLog
- entry dated ``Wed 25 Mar, 2009 20:18:16''
- for a further discussion of this.
+ <code>Normalize(v)</code> which operates in place (for static vectors).
Consult the ChangeLog
+ entries dated ``Wed 25 Mar, 2009 20:18:16'' and ``Wed 1 Apr, 2009
16:48:45''
+ for further discussion.
\subsection sColMajor Can I have a column major matrix?
@@ -353,12 +353,22 @@
@endcode
\subsection sWrap I have a pointer to a bunch of data. How do I turn it
in to a vector/matrix without copying?
- To create a vector use
+ To create a vector use:
@code
double d[]={1,2,3,4};
Vector<4,double,Reference> v1(d);
Vector<Dynamic,double,Reference> v2(d,4);
@endcode
+ Or, a functional form can be used:
+ @code
+ double d[]={1,2,3,4};
+
+ wrapVector<4>(d); //Returns a Vector<4>
+ wrapVector<4,double>(d); //Returns a Vector<4>
+
+ wrapVector(d,3); //Return a Vector<Dynamic> of size 3
+ wrapVector<Double>(d,3); //Return a Vector<Dynamic> of size 3
+ @endcode
To crate a matrix use
@code
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Toon-members] TooN Makefile.in doc/documentation.h,
Edward Rosten <=