type_y
This vector has size equal to the number of results for this atomic function;
i.e.
m=ay.size()
.
The input values of the elements of
type_y
are not specified (must not matter).
Upon return, for
i = 0 , \ldots , m-1
,
type_y[i]
is set to one of the following values:
It is constant_enum if
ay[i]
only depends on
the arguments that are constants.
It is dynamic_enum if
ay[i]
depends on
a dynamic parameter and does not depend on any variables.
It is variable_enum if
ay[i]
depends on
a variable.
ok
If this calculation succeeded,
ok
is true.
Otherwise, it is false.
Example
The following is an example of a atomic function for_type definition:
get_started.cpp
.
Input File: include/cppad/core/atomic/three/for_type.hpp