CppAD: A C++ Algorithmic Differentiation Package  20130918
op_code.hpp File Reference

Defines the OpCode enum type and functions related to it. More...

Go to the source code of this file.

Namespaces

namespace  CppAD
 

contains all the variables and functions defined by the CppAD package.


Enumerations

enum  CppAD::OpCode {
  CppAD::AbsOp, CppAD::AcosOp, CppAD::AddpvOp, CppAD::AddvvOp,
  CppAD::AsinOp, CppAD::AtanOp, CppAD::BeginOp, CppAD::CExpOp,
  CppAD::ComOp, CppAD::CosOp, CppAD::CoshOp, CppAD::CSkipOp,
  CppAD::CSumOp, CppAD::DisOp, CppAD::DivpvOp, CppAD::DivvpOp,
  CppAD::DivvvOp, CppAD::EndOp, CppAD::ExpOp, CppAD::InvOp,
  CppAD::LdpOp, CppAD::LdvOp, CppAD::LogOp, CppAD::MulpvOp,
  CppAD::MulvvOp, CppAD::ParOp, CppAD::PowpvOp, CppAD::PowvpOp,
  CppAD::PowvvOp, CppAD::PriOp, CppAD::SignOp, CppAD::SinOp,
  CppAD::SinhOp, CppAD::SqrtOp, CppAD::StppOp, CppAD::StpvOp,
  CppAD::StvpOp, CppAD::StvvOp, CppAD::SubpvOp, CppAD::SubvpOp,
  CppAD::SubvvOp, CppAD::TanOp, CppAD::TanhOp, CppAD::UserOp,
  CppAD::UsrapOp, CppAD::UsravOp, CppAD::UsrrpOp, CppAD::UsrrvOp,
  CppAD::NumberOp
}
 Type used to distinguish different AD< Base > atomic operations. More...

Functions

size_t CppAD::NumArg (OpCode op)
 Number of arguments for a specified operator.
size_t CppAD::NumRes (OpCode op)
 Number of variables resulting from the specified operation.
const char * CppAD::OpName (OpCode op)
 Fetch the name for a specified operation.
template<class Base , class Value >
void CppAD::printOp (std::ostream &os, const player< Base > *Rec, size_t i_op, size_t i_var, OpCode op, const addr_t *ind, size_t nfz, const Value *fz, size_t nrz, const Value *rz)
 Prints a single operator, its operands, and the corresponding result values.
template<class Type >
void CppAD::printOpField (std::ostream &os, const char *leader, const Type &value, size_t width)
 Prints a single field corresponding to an operator.

Detailed Description

Defines the OpCode enum type and functions related to it.

Definition in file op_code.hpp.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines