File: lu_vec_ad.hpp

package info (click to toggle)
cppad 2025.00.00.2-1
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 11,552 kB
  • sloc: cpp: 112,594; sh: 5,972; ansic: 179; python: 71; sed: 12; makefile: 10
file content (21 lines) | stat: -rw-r--r-- 716 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# ifndef CPPAD_EXAMPLE_GENERAL_LU_VEC_AD_HPP
# define CPPAD_EXAMPLE_GENERAL_LU_VEC_AD_HPP
// SPDX-License-Identifier: EPL-2.0 OR GPL-2.0-or-later
// SPDX-FileCopyrightText: Bradley M. Bell <bradbell@seanet.com>
// SPDX-FileContributor: 2003-22 Bradley M. Bell
// ----------------------------------------------------------------------------

# include <cppad/cppad.hpp>

namespace CppAD {
   extern CppAD::AD<double> lu_vec_ad(
      size_t                           n,
      size_t                           m,
      CppAD::VecAD<double>             &Matrix,
      CppAD::VecAD<double>             &Rhs,
      CppAD::VecAD<double>             &Result,
      CppAD::AD<double>                &logdet
   );
}

# endif