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

#include <gradient.h>

Collaboration diagram for grad::FuncUnaryMinus:

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 = true

Detailed Description

Definition at line 2083 of file gradient.h.

Member Function Documentation

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

Definition at line 2091 of file gradient.h.

2091  {
2092  return -1.;
2093  }
static scalar_func_type grad::FuncUnaryMinus::f ( scalar_func_type  u)

Definition at line 2087 of file gradient.h.

2087  {
2088  return -u;
2089  }

Member Data Documentation

const bool grad::FuncUnaryMinus::bVectorize = true

Definition at line 2085 of file gradient.h.

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