/usr/include/adolc/internal/paramfunc.h is in libadolc-dev 2.6.0-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 | /*----------------------------------------------------------------------------
ADOL-C -- Automatic Differentiation by Overloading in C++
File: paramfunc.h
Revision: $Id$
Contents: operators for parameter dependent functions
Copyright (c) Kshitij Kulshreshtha
This file is part of ADOL-C. This software is provided as open source.
Any use, reproduction, or distribution of the software constitutes
recipient's acceptance of the terms of the accompanying license file.
----------------------------------------------------------------------------*/
#if defined(_IN_CLASS_) && _IN_CLASS_
#if defined(_IN_BADOUBLE_) || defined(_IN_ADUB_) || defined(_IN_PDOUBLE_)
#if defined(ADOLC_ADVANCED_BRANCHING)
inline friend adub operator != ( const pdouble&, const badouble&);
friend ADOLC_DLL_EXPORT adub operator != ( const badouble&, const pdouble&);
inline friend adub operator == ( const pdouble&, const badouble&);
friend ADOLC_DLL_EXPORT adub operator == ( const badouble&, const pdouble&);
inline friend adub operator <= ( const pdouble&, const badouble&);
friend ADOLC_DLL_EXPORT adub operator <= ( const badouble&, const pdouble&);
inline friend adub operator >= ( const pdouble&, const badouble&);
friend ADOLC_DLL_EXPORT adub operator >= ( const badouble&, const pdouble&);
inline friend adub operator > ( const pdouble&, const badouble&);
friend ADOLC_DLL_EXPORT adub operator > ( const badouble&, const pdouble&);
inline friend adub operator < ( const pdouble&, const badouble&);
friend ADOLC_DLL_EXPORT adub operator < ( const badouble&, const pdouble&);
#else
#if defined(_IN_BADOUBLE_) || defined(_IN_PDOUBLE_)
inline friend int operator != ( const pdouble&, const badouble&);
inline friend int operator != ( const badouble&, const pdouble&);
inline friend int operator == ( const pdouble&, const badouble&);
inline friend int operator == ( const badouble&, const pdouble&);
inline friend int operator <= ( const pdouble&, const badouble&);
inline friend int operator <= ( const badouble&, const pdouble&);
inline friend int operator >= ( const pdouble&, const badouble&);
inline friend int operator >= ( const badouble&, const pdouble&);
inline friend int operator > ( const pdouble&, const badouble&);
inline friend int operator > ( const badouble&, const pdouble&);
inline friend int operator < ( const pdouble&, const badouble&);
inline friend int operator < ( const badouble&, const pdouble&);
#endif
#endif
inline friend adub operator + ( const pdouble&, const badouble&);
inline friend adub operator + ( const pdouble&, double);
inline friend adub operator + ( double, const pdouble&);
friend ADOLC_DLL_EXPORT adub operator + ( const badouble&, const pdouble&);
friend ADOLC_DLL_EXPORT adub operator - ( const pdouble&);
friend ADOLC_DLL_EXPORT adub operator - ( const badouble&, const pdouble&);
inline friend adub operator - ( const pdouble&, double );
inline friend adub operator - ( double, const pdouble& );
inline friend adub operator - ( const pdouble&, const badouble& );
friend ADOLC_DLL_EXPORT adub operator * ( const badouble&, const pdouble&);
inline friend adub operator * ( const pdouble&, const badouble& );
inline friend adub operator * ( const pdouble&, double );
inline friend adub operator * ( double, const pdouble& );
friend ADOLC_DLL_EXPORT adub recipr( const pdouble& );
inline friend adub operator / ( const badouble&, const pdouble& );
inline friend adub operator / ( double, const pdouble& );
inline friend adub operator / ( const pdouble&, double );
friend ADOLC_DLL_EXPORT adub operator / ( const pdouble&, const badouble& );
friend ADOLC_DLL_EXPORT adub pow ( const badouble&, const pdouble& );
friend ADOLC_DLL_EXPORT adouble pow ( const pdouble&, const badouble& );
inline friend adub fmax ( const pdouble&, const badouble& );
inline friend adub fmax ( const badouble&, const pdouble& );
inline friend adub fmin ( const pdouble&, const badouble& );
inline friend adub fmin ( const badouble&, const pdouble& );
#endif
#endif
|