Prev
Next
Index->
contents
reference
index
search
external
Up->
cppad_swig
library
a_double
a_double_ad_binary
cppad_swig->
testing
swig_xam.i
library
whats_new_2018
library->
module
a_double
vector
a_fun
sparse
error
xam.m4
a_double->
a_double_ctor
a_double_unary_op
a_double_property
a_double_ad_binary
a_double_compare
a_double_assign
a_double_unary_fun
a_double_cond_assign
a_double_ad_binary->
a_double_ad_binary_xam.cpp
a_double_ad_binary_xam.m
a_double_ad_binary_xam.pm
a_double_ad_binary_xam.py
Headings->
Syntax
op
ax
ay
az
Example
@(@\newcommand{\B}[1]{ {\bf #1} } \newcommand{\R}[1]{ {\rm #1} }@)@
ad_double Binary Operators with an AD Result
Syntax
az
=
ax
op
ay
op
The binary operator
op
is one of the following:
+
(addition),
-
(subtraction),
*
(multiplication),
/
(division).
ax
This object has prototype
const a_double&
ax
ay
This object has prototype
const a_double&
ay
az
The result has prototype
a_double
az
Example
C++
,
Octave
,
Perl
,
Python
.
Input File: lib/a_double.cpp