mgcpp
A C++ Math Library Based on CUDA
Namespaces | Functions
gradients.hpp File Reference
#include <mgcpp/expressions/generic_expr.hpp>
#include <mgcpp/expressions/placeholder.hpp>
#include <mgcpp/expressions/gradients.tpp>
Include dependency graph for gradients.hpp:

Go to the source code of this file.

Namespaces

 mgcpp
 

Functions

template<typename Expr , size_t PlaceholderID, typename PhResultType >
auto mgcpp::grad (scalar_expr< Expr > const &expr, placeholder_node< PlaceholderID, PhResultType > wrt)