CppAD: A C++ Algorithmic Differentiation Package  20171217
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
template<class Base >
template<class T >
CppAD::AD< Base >::AD ( const T &  t)
inlineexplicit

Constructor from any other type, converts to Base type, and uses constructor from Base type.

Template Parameters
BaseBase type for this AD object.
Tis the the type that is being converted to AD<Base>. There must be a constructor for Base from Type.
Parameters
tis the object that is being converted from T to AD<Base>.

Definition at line 188 of file ad_ctor.hpp.