Prev
Next
Index->
contents
reference
index
search
external
Up->
cppad_py
library
cpp_lib
a_double
a_double_unary_op
cppad_py->
setup.py
library
whats_new_2018
library->
py_lib
cpp_lib
cpp_lib->
a_double
vector
cpp_fun
sparse
cpp_utility
more_cpp
a_double->
a_double_ctor
a_double_unary_op
a_double_property
a_double_binary
a_double_compare
a_double_assign
a_double_unary_fun
a_double_cond_assign
a_double_unary_op->
a_double_unary_op_xam.cpp
a_double_unary_op_xam.py
Headings->
Syntax
ax
ay
Example
@(@\newcommand{\B}[1]{ {\bf #1} } \newcommand{\R}[1]{ {\rm #1} }@)@
a_double Unary Plus and Minus
Syntax
ay
= +
ax
ay
= -
ax
ax
This object has prototype
const a_double&
ax
ay
If the operator is
+
, the result is equal to
ax
. If it is
-
, the result is the negative of
ax
.
Example
C++
,
Python
.
Input File: lib/cplusplus/a_double.cpp