All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups
grad::FuncLog Class Reference

#include <gradient.h>

Collaboration diagram for grad::FuncLog:

Static Public Member Functions

static scalar_func_type f (scalar_func_type u)
static scalar_deriv_type df_du (scalar_func_type u)

Static Public Attributes

static const bool bVectorize = false

Detailed Description

Definition at line 1906 of file gradient.h.

Member Function Documentation

static scalar_deriv_type grad::FuncLog::df_du ( scalar_func_type  u)

Definition at line 1914 of file gradient.h.

1914  {
1915  return 1. / u;
1916  }
static scalar_func_type grad::FuncLog::f ( scalar_func_type  u)

Definition at line 1910 of file gradient.h.

References grad::log().

1910  {
1911  return log(u);
1912  }
GradientExpression< UnaryExpr< FuncLog, Expr > > log(const GradientExpression< Expr > &u)
Definition: gradient.h:2976

Here is the call graph for this function:

Member Data Documentation

const bool grad::FuncLog::bVectorize = false

Definition at line 1908 of file gradient.h.

The documentation for this class was generated from the following file: