MBDyn-1.7.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups
grad::FuncCopysign Class Reference

#include <gradient.h>

Collaboration diagram for grad::FuncCopysign:

Static Public Member Functions

static scalar_func_type f (scalar_func_type u, scalar_func_type v)
 
static scalar_deriv_type df_du (scalar_func_type u, scalar_func_type v)
 
static scalar_deriv_type df_dv (scalar_func_type u, scalar_func_type v)
 

Static Public Attributes

static const bool bVectorize = false
 

Detailed Description

Definition at line 1850 of file gradient.h.

Member Function Documentation

static scalar_deriv_type grad::FuncCopysign::df_du ( scalar_func_type  u,
scalar_func_type  v 
)
inlinestatic

Definition at line 1858 of file gradient.h.

References grad::copysign().

1858  {
1859  return copysign(1., u) * copysign(1., v);
1860  }
GradientExpression< BinaryExpr< FuncCopysign, LhsExpr, RhsExpr > > copysign(const GradientExpression< LhsExpr > &u, const GradientExpression< RhsExpr > &v)
Definition: gradient.h:2963

Here is the call graph for this function:

static scalar_deriv_type grad::FuncCopysign::df_dv ( scalar_func_type  u,
scalar_func_type  v 
)
inlinestatic

Definition at line 1862 of file gradient.h.

1862  {
1863  return 0.;
1864  }
static scalar_func_type grad::FuncCopysign::f ( scalar_func_type  u,
scalar_func_type  v 
)
inlinestatic

Definition at line 1854 of file gradient.h.

References grad::copysign().

1854  {
1855  return copysign(u, v);
1856  }
GradientExpression< BinaryExpr< FuncCopysign, LhsExpr, RhsExpr > > copysign(const GradientExpression< LhsExpr > &u, const GradientExpression< RhsExpr > &v)
Definition: gradient.h:2963

Here is the call graph for this function:

Member Data Documentation

const bool grad::FuncCopysign::bVectorize = false
static

Definition at line 1852 of file gradient.h.


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