Changeset 600


Ignore:
Timestamp:
Nov 2, 2006 9:32:05 AM (14 years ago)
Author:
bradbell
Message:

trunk: Missing change to Makefile.am in previous commit.

SvnCommit?.sh: file that made this commit
whats_new_06.omh: user's view of changes.
alloc_mat.hpp: major improvement to documentation.
speed.cpp: improve indexing.
alloc_vec.cpp: improve indexing.
alloc_mat.cpp: improve indexing.
example.cpp: improve indexing.
alloc_vec.hpp: major improvements to documentation.
config.h: new version number.
adolc.omh: include alloc_vec and alloc_mat in documentaiton.
Makefile.am: The important fix, change PrintFor? to print_for, is here.

Location:
trunk
Files:
11 edited

Legend:

Unmodified
Added
Removed
  • trunk/CppAD/config.h

    r599 r600  
    2121
    2222/* Define to the full name and version of this package. */
    23 #define PACKAGE_STRING "CppAD 06-11-01"
     23#define PACKAGE_STRING "CppAD 06-11-02"
    2424
    2525/* Define to the one symbol short name of this package. */
     
    2727
    2828/* Define to the version of this package. */
    29 #define PACKAGE_VERSION "06-11-01"
     29#define PACKAGE_VERSION "06-11-02"
    3030
    3131/* Version number of package */
    32 #define VERSION "06-11-01"
     32#define VERSION "06-11-02"
    3333
    3434/* Define to `__inline__' or `__inline' if that's what the C compiler
  • trunk/Makefile.am

    r596 r600  
    173173# Did user specify --with-PrintFor
    174174if CppAD_PRINTFOR
    175 PRINTFOR = PrintFor
     175PRINTFOR = print_for
    176176else
    177177PRINTFOR =
  • trunk/SvnCommit.sh

    r599 r600  
    3939#
    4040# ----------------------------------------------------------------------
    41 log_entry="Move PrintFor to print_for and change to lower case file names
     41log_entry="Missing change to Makefile.am in previous commit.
     42
     43SvnCommit.sh: file that made this commit
     44whats_new_06.omh: user's view of changes.
     45alloc_mat.hpp: major improvement to documentation.
     46speed.cpp: improve indexing.
     47alloc_vec.cpp: improve indexing.
     48alloc_mat.cpp: improve indexing.
     49example.cpp: improve indexing.
     50alloc_vec.hpp: major improvements to documentation.
     51config.h: new version number.
     52adolc.omh: include alloc_vec and alloc_mat in documentaiton.
     53Makefile.am: The important fix, change PrintFor to print_for, is here.
    4254"
    4355#
     
    4759change_list="
    4860        SvnCommit.sh
    49         CppAD/local/print_for.hpp
     61        omh/whats_new_06.omh
     62        adolc/alloc_mat.hpp
     63        adolc/speed.cpp
     64        adolc/alloc_vec.cpp
     65        adolc/alloc_mat.cpp
     66        adolc/example.cpp
     67        adolc/alloc_vec.hpp
    5068        CppAD/config.h
    51         configure.ac
    52         omh/install_unix.omh
    53         omh/install_windows.omh
    54         omh/whats_new_06.omh
    55         print_for
    56         PrintFor
     69        omh/adolc.omh
     70        Makefile.am
    5771"
    5872#
  • trunk/adolc/alloc_mat.cpp

    r587 r600  
    1 // BEGIN SHORT COPYRIGHT
    21/* --------------------------------------------------------------------------
    32CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-06 Bradley M. Bell
     
    109Please visit http://www.coin-or.org/CppAD/ for information on other licenses.
    1110-------------------------------------------------------------------------- */
    12 // END SHORT COPYRIGHT
    1311
    1412/*
    15 $begin alloc_mat.cpp$$
     13$begin AllocMat.cpp$$
    1614$spell
     15        Adolc
    1716        Alloc
    1817        Cpp
     
    2019$$
    2120
    22 $mindex AllocMat test example$$
     21$index Adolc, AllocMat$$
     22$index AllocMat, adolc$$
    2323$section Example and Test of AllocMat Template Class$$
    2424
  • trunk/adolc/alloc_mat.hpp

    r586 r600  
    1 # ifndef CppADAllocMatIncluded
    2 # define CppADAllocMatIncluded
     1# ifndef CppAD_ALLOC_MAT_INCLUDED
     2# define CppAD_ALLOC_MAT_INCLUDED
    33
    4 // BEGIN SHORT COPYRIGHT
    54/* --------------------------------------------------------------------------
    65CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-06 Bradley M. Bell
     
    1312Please visit http://www.coin-or.org/CppAD/ for information on other licenses.
    1413-------------------------------------------------------------------------- */
    15 // END SHORT COPYRIGHT
    1614/*
    1715$begin AllocMat$$
     
    2523$section Matrix Allocation Routine$$
    2624
    27 $table
    28 $bold Syntax$$
    29 $cnext $syntax%AllocMat<%Type%> %M%(int %nr%, int %nc%)%$$
    30 $rnext
    31 $cnext $syntax%%Type%* %M%[int %i%]%$$
    32 $rnext
    33 $cnext $syntax%(%Type%**) %M%$$
    34 $tend
     25$head Syntax$$
     26$syntax%AllocMat<%Type%> %M%(%nr%, %nc%)%$$
     27$pre
     28$$
     29$syntax%%p% = %M%[%i%]%$$
     30$pre
     31$$
     32$syntax%(%Type%**) %M%$$
    3533
    36 $fend 25$$
    3734
    3835$head Description$$
     
    4037can be used to allocate and automatically free matrices
    4138with an arbitrary type.
     39
     40$head Constructor$$
    4241$syntax%
     42        AllocMat<%Type%> %M%(%nr%, %nc%)
     43%$$
     44allocates memory for an $italic nr$$ by $italic nc$$ matrix
     45with elements of the specified type.
     46The arguments $italic nr$$ and $italic nc$$ have prototype
     47$syntax%
     48        int %nr%
     49        int %nc%
     50%$$
     51and must be greater than or equal to zero.
    4352
    44 AllocMat<%Type%> %M%(int %nr%, int %nc%)
     53$head Row Access$$
     54The syntax
     55$syntax%
     56        %p% = %M%[%i%]
    4557%$$
    46 This syntax allocates memory for an $italic nr$$
    47 by $italic nc$$ matrix
    48 with elements of the specified type. The arguments
    49 $italic nr$$ and $italic nc$$ must be greater than or equal to zero.
     58returns a point to the $th i$$ row of the matrix $italic M$$.
     59The argument $italic i$$ has prototype
    5060$syntax%
    51 
    52 %Type%* %M%[int %i%]
     61        int %i%
    5362%$$
    54 This syntax returns the $th i$$ row of the matrix $italic M$$.
    55 The value $italic i$$ must be between zero and $syntax%%nr%-1%$$
    56 where $italic nr$$ is the value in the constructor for $italic M$$.
     63and must have value $italic i$$ must be between zero and $syntax%%nr%-1%$$
     64where $italic nr$$ is the value in the constructor for $italic M$$
     65(or else a standard assert is generated).
     66The return value has prototype
    5767$syntax%
    58 
    59 (%Type%**) %M%
     68        %Type% *%p%
    6069%$$
    61 This syntax returns a vector of length $italic nr$$
     70 
     71$head Matrix Access$$
     72The syntax
     73$syntax%
     74        (%Type%**) %M%
     75%$$
     76returns a vector of length $italic nr$$
    6277each element of which points to a vector of length $italic nc$$ where
    6378the elements of the matrix $italic M$$ are stored.
     
    6681
    6782$children%
    68         Adolc/AllocMat.cpp
     83        adolc/alloc_mat.cpp
    6984%$$
    7085
  • trunk/adolc/alloc_vec.cpp

    r587 r600  
    1 // BEGIN SHORT COPYRIGHT
    21/* --------------------------------------------------------------------------
    32CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-06 Bradley M. Bell
     
    109Please visit http://www.coin-or.org/CppAD/ for information on other licenses.
    1110-------------------------------------------------------------------------- */
    12 // END SHORT COPYRIGHT
    1311
    1412/*
    15 $begin alloc_vec.cpp$$
     13$begin AllocVec.cpp$$
    1614$spell
     15        Adolc
    1716        Vec
    1817        Alloc
     
    2120$$
    2221
    23 $mindex AllocVec test example$$
     22$index AllocVec, Adolc$$
     23$index Adolc, AllocVec$$
    2424$section Example and Test of AllocVec Template Class$$
    2525
  • trunk/adolc/alloc_vec.hpp

    r586 r600  
    1 # ifndef CppADAllocVecIncluded
    2 # define CppADAllocVecIncluded
     1# ifndef CPPAD_ALLOC_VEC_INCLUDED
     2# define CPPAD_ALLOC_VEC_INCLUDED
    33
    4 // BEGIN SHORT COPYRIGHT
    54/* --------------------------------------------------------------------------
    65CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-06 Bradley M. Bell
     
    1312Please visit http://www.coin-or.org/CppAD/ for information on other licenses.
    1413-------------------------------------------------------------------------- */
    15 // END SHORT COPYRIGHT
    1614/*
    1715$begin AllocVec$$
     
    2321$section Vector Allocation Routine$$
    2422
    25 $table
    26 $bold Syntax$$
    27 $cnext $syntax%AllocVec<%Type%> %v%(int %length%)%$$
    28 $rnext
    29 $cnext $syntax%%Type%& %v%[int %i%]%$$
    30 $rnext
    31 $cnext $syntax%(%Type%*) %v%$$
    32 $tend
    33 
    34 $fend 25$$
     23$head Syntax$$
     24$syntax%AllocVec<%Type%> %v%(%length%)%$$
     25$pre
     26$$
     27$syntax%%v%[%i%]%$$
     28$pre
     29$$
     30$syntax%(%Type%*) %v%$$
    3531
    3632$head Description$$
     
    3834can be used to allocate and automatically free vectors
    3935with an arbitrary type.
     36
     37$head Constructor$$
     38The syntax
    4039$syntax%
     40        AllocVec<%Type%> %v%(%length%)
     41%$$
     42allocates memory for a vector of the specified
     43length and with elements of the specified type.
     44The argument $italic length$$ has prototype
     45$syntax%
     46        int %length%
     47%$$
     48and must be greater than or equal to zero
    4149
    42 AllocVec<%Type%> %v%(int %length%)
     50$head Element Access$$
     51The syntax
     52$syntax%
     53        %v%[%i%]
    4354%$$
    44 This syntax allocates memory for a vector of the specified
    45 length and with elements of the specified type. The argument
    46 $italic length$$ must be greater than or equal to zero.
    47 $syntax%
    48 
    49 %Type%& %v%[int %i%]
    50 %$$
    51 This syntax returns a reference to the $th i$$ element in
     55returns a reference to the $th i$$ element in
    5256the vector $italic v$$.
    5357The value $italic i$$ must be between zero and $syntax%%length%-1%$$
    5458where $italic length$$ is the value in the constructor for $italic v$$.
     59If it is not with in these bounds, a standard assert is generated.
     60
     61$head Pointer Access$$
     62The syntax
    5563$syntax%
    56 
    57 (%Type%*) %v%
     64        (%Type%*) %v%
    5865%$$
    59 This syntax returns a copy of the pointer to the
    60 memory where the $italic length$$ elements of $italic v$$ are stored
    61 where $italic length$$ is the value in the constructor for $italic v$$.
     66returns a pointer to the memory where the $italic length$$
     67elements of $italic v$$ are stored.
     68($italic length$$ is the value in the constructor for $italic v$$).
    6269
    6370$children%
    64         Adolc/AllocVec.cpp
     71        adolc/alloc_vec.cpp
    6572%$$
    6673
  • trunk/adolc/example.cpp

    r589 r600  
    1818
    1919$index Adolc, compare$$
     20$index compare, Adolc$$
     21
    2022$section Compare Adolc and CppAD Results$$
    2123
  • trunk/adolc/speed.cpp

    r589 r600  
    1 // BEGIN SHORT COPYRIGHT
    21/* --------------------------------------------------------------------------
    32CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-06 Bradley M. Bell
     
    109Please visit http://www.coin-or.org/CppAD/ for information on other licenses.
    1110-------------------------------------------------------------------------- */
    12 // END SHORT COPYRIGHT
    1311/*
    1412$begin SpeedAdolc.cpp$$
     
    1816$$
    1917
    20 $mindex run all Adolc speed test$$
     18$index Adolc, speed$$
     19$index speed, Adolc$$
     20
    2121$section Run All The Adolc Speed Comparison Tests$$
    2222
  • trunk/omh/adolc.omh

    r591 r600  
    6363        adolc/speed.cpp%
    6464        adolc/example.cpp%
     65        adolc/alloc_vec.hpp%
     66        adolc/alloc_mat.hpp%
    6567        adolc/det_minor.cpp%
    6668        adolc/det_lu.cpp
  • trunk/omh/whats_new_06.omh

    r599 r600  
    7070assist you in learning about changes between various versions of CppAD.
    7171
     72$head 11-02$$
     73The $code print_for$$ directory was referenced as $code PrintFor$$
     74in the root CppAD $code Makefile.am$$ this has been fixed.
     75$pre
     76
     77$$
     78The documentation for the $cref/Adolc/$$ helper routines
     79$cref/AllocVec/$$  and $cref/AllocMat/$$ were not being included.
     80This has been fixed.
     81
    7282$head 11-01$$
    7383Move the $code PrintFor$$ directory to $code print_for$$
Note: See TracChangeset for help on using the changeset viewer.