CppAD: A C++ Algorithmic Differentiation Package 20110419
|
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-10 Bradley M. Bell 00006 00007 CppAD is distributed under multiple licenses. This distribution is under 00008 the terms of the 00009 Common 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 CPPAD_BEGIN_NAMESPACE 00016 /*! 00017 \file vec_fun_pattern.hpp 00018 \brief Determine sparsity pattern for a vector of AD fuction objects. 00019 */ 00020 00021 extern void vec_fun_pattern( 00022 size_t K , 00023 const CppAD::vector<size_t>& p , 00024 const CppAD::vector<size_t>& q , 00025 const CppAD::vectorBool& retape , 00026 CppAD::vector< CppAD::ADFun<Ipopt::Number> >& r_fun , 00027 CppAD::vector<CppAD::vectorBool>& pattern_jac_r , 00028 CppAD::vector<CppAD::vectorBool>& pattern_hes_r 00029 ); 00030 00031 CPPAD_END_NAMESPACE 00032 # endif