numerical-collection-cpp 0.10.0
A collection of algorithms in numerical analysis implemented in C++
Loading...
Searching...
No Matches
node.h File Reference

Definition of node class. More...

#include <memory>
#include <utility>
#include <vector>
#include "num_collect/base/concepts/real_scalar.h"
#include "num_collect/util/assert.h"
+ Include dependency graph for node.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  num_collect::auto_diff::backward::graph::child_node< Scalar >
 class to save information of child nodes. More...
 
class  num_collect::auto_diff::backward::graph::node< Scalar >
 Class of nodes in graphs of automatic differentiation. More...
 

Namespaces

namespace  num_collect
 Namespace of num_collect source codes.
 
namespace  num_collect::auto_diff
 Namespace of automatic differentiation.
 
namespace  num_collect::auto_diff::backward
 Namespace of backward-mode automatic differentiation.
 
namespace  num_collect::auto_diff::backward::graph
 Namespace of graphs in backward-mode automatic differentiation.
 
namespace  num_collect::auto_diff::backward::graph::impl
 Namespace of internal implementations.
 

Typedefs

template<base::concepts::real_scalar Scalar>
using num_collect::auto_diff::backward::graph::node_ptr = std::shared_ptr<const node<Scalar>>
 Type of pointers of nodes.
 

Functions

template<base::concepts::real_scalar Scalar, typename... Args>
auto num_collect::auto_diff::backward::graph::create_node (Args &&... args) -> node_ptr< Scalar >
 Create a node.
 
template<base::concepts::real_scalar Scalar>
auto num_collect::auto_diff::backward::graph::impl::create_node_impl (std::vector< child_node< Scalar > > &children) -> node_ptr< Scalar >
 Create a node.
 
template<base::concepts::real_scalar Scalar, typename... Args>
auto num_collect::auto_diff::backward::graph::impl::create_node_impl (std::vector< child_node< Scalar > > &children, node_ptr< Scalar > node, const Scalar &sensitivity, Args &&... args) -> node_ptr< Scalar >
 Create a node.
 

Detailed Description

Definition of node class.

Definition in file node.h.