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

Definition of variable class. More...

#include <optional>
#include <utility>
#include <Eigen/Core>
#include "num_collect/base/concepts/real_scalar.h"
#include "num_collect/base/exception.h"
#include "num_collect/base/precondition.h"
#include "num_collect/logging/logging_macros.h"
+ Include dependency graph for variable.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  Eigen::NumTraits< num_collect::auto_diff::forward::variable< Value, Diff > >
 Specialization of Eigen::NumTraits for num_collect::auto_diff::forward::variable. More...
 
class  num_collect::auto_diff::forward::variable< Value, Diff >
 Class of variables in forward-mode automatic differentiation [17]. More...
 

Namespaces

namespace  Eigen
 Namespace of Eigen library.
 
namespace  num_collect
 Namespace of num_collect source codes.
 
namespace  num_collect::auto_diff
 Namespace of automatic differentiation.
 
namespace  num_collect::auto_diff::forward
 Namespace of forward-mode automatic differentiation.
 

Functions

template<typename Value , typename Diff >
auto num_collect::auto_diff::forward::operator* (const Value &left, const variable< Value, Diff > &right) -> variable< Value, Diff >
 Multiply two variables.
 
template<typename Value , typename Diff >
auto num_collect::auto_diff::forward::operator* (const variable< Value, Diff > &left, const Value &right) -> variable< Value, Diff >
 Multiply two variables.
 
template<typename Value , typename Diff >
auto num_collect::auto_diff::forward::operator* (const variable< Value, Diff > &left, const variable< Value, Diff > &right) -> variable< Value, Diff >
 Multiply two variables.
 
template<typename Value , typename Diff >
auto num_collect::auto_diff::forward::operator+ (const Value &left, const variable< Value, Diff > &right) -> variable< Value, Diff >
 Add two variables.
 
template<typename Value , typename Diff >
auto num_collect::auto_diff::forward::operator+ (const variable< Value, Diff > &left, const Value &right) -> variable< Value, Diff >
 Add two variables.
 
template<typename Value , typename Diff >
auto num_collect::auto_diff::forward::operator+ (const variable< Value, Diff > &left, const variable< Value, Diff > &right) -> variable< Value, Diff >
 Add two variables.
 
template<typename Value , typename Diff >
auto num_collect::auto_diff::forward::operator- (const Value &left, const variable< Value, Diff > &right) -> variable< Value, Diff >
 Subtract a variable from another variable.
 
template<typename Value , typename Diff >
auto num_collect::auto_diff::forward::operator- (const variable< Value, Diff > &left, const Value &right) -> variable< Value, Diff >
 Subtract a variable from another variable.
 
template<typename Value , typename Diff >
auto num_collect::auto_diff::forward::operator- (const variable< Value, Diff > &left, const variable< Value, Diff > &right) -> variable< Value, Diff >
 Subtract a variable from another variable.
 
template<typename Value , typename Diff >
auto num_collect::auto_diff::forward::operator/ (const Value &left, const variable< Value, Diff > &right) -> variable< Value, Diff >
 Divide a variable by another variable.
 
template<typename Value , typename Diff >
auto num_collect::auto_diff::forward::operator/ (const variable< Value, Diff > &left, const Value &right) -> variable< Value, Diff >
 Divide a variable by another variable.
 
template<typename Value , typename Diff >
auto num_collect::auto_diff::forward::operator/ (const variable< Value, Diff > &left, const variable< Value, Diff > &right) -> variable< Value, Diff >
 Divide a variable by another variable.
 

Detailed Description

Definition of variable class.

Definition in file variable.h.