CppAD: A C++ Algorithmic Differentiation Package  20130102
vec_fun_pattern.hpp
Go to the documentation of this file.
00001 /* $Id$ */
00002 # ifndef  CPPAD_VEC_FUN_PATTERN_INCLUDED
00003 # define  CPPAD_VEC_FUN_PATTERN_INCLUDED
00004 /* --------------------------------------------------------------------------
00005 CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-12 Bradley M. Bell
00006 
00007 CppAD is distributed under multiple licenses. This distribution is under
00008 the terms of the 
00009                     Eclipse Public License Version 1.0.
00010 
00011 A copy of this license is included in the COPYING file of this distribution.
00012 Please visit http://www.coin-or.org/CppAD/ for information on other licenses.
00013 -------------------------------------------------------------------------- */
00014 # include "cppad_ipopt_nlp.hpp"
00015 // ---------------------------------------------------------------------------
00016 namespace cppad_ipopt {
00017 // ---------------------------------------------------------------------------
00018 /*!
00019 \file vec_fun_pattern.hpp
00020 \brief Determine sparsity pattern for a vector of AD fuction objects.
00021 
00022 \ingroup vec_fun_pattern_cpp
00023 */
00024 
00025 extern void vec_fun_pattern(
00026      size_t                                          K              ,
00027      const CppAD::vector<size_t>&                    p              ,
00028      const CppAD::vector<size_t>&                    q              ,
00029      const CppAD::vectorBool&                        retape         ,
00030      CppAD::vector< CppAD::ADFun<Ipopt::Number> >&   r_fun          ,
00031      CppAD::vector<CppAD::vectorBool>&               pattern_jac_r  ,
00032      CppAD::vector<CppAD::vectorBool>&               pattern_hes_r  
00033 );
00034 
00035 // ---------------------------------------------------------------------------
00036 } // end namespace cppad_ipopt
00037 // ---------------------------------------------------------------------------
00038 # endif
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines