numerical-collection-cpp 0.10.0
A collection of algorithms in numerical analysis implemented in C++
|
Definition of create_diff_variable function. More...
#include <Eigen/Core>
#include "num_collect/auto_diff/backward/variable.h"
#include "num_collect/base/concepts/real_scalar.h"
#include "num_collect/base/concepts/real_scalar_dense_vector.h"
#include "num_collect/base/exception.h"
#include "num_collect/base/index_type.h"
#include "num_collect/base/precondition.h"
#include "num_collect/logging/logging_macros.h"
#include "num_collect/util/assert.h"
Go to the source code of this file.
Classes | |
class | num_collect::auto_diff::backward::impl::create_diff_variable_vector_functor< ValueVector > |
Class of functor to create a vector of variables by which functions will be differentiated. 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::impl |
Namespace of internal implementations. | |
Typedefs | |
template<base::concepts::real_scalar_dense_vector ValueVector> | |
using | num_collect::auto_diff::backward::variable_vector_type |
Get type of vectors of variables. | |
Functions | |
template<base::concepts::real_scalar Scalar> | |
auto | num_collect::auto_diff::backward::create_diff_variable (const Scalar &value) -> variable< Scalar > |
Create a variable by which functions will be differentiated. | |
template<base::concepts::real_scalar_dense_vector ValueVector> | |
auto | num_collect::auto_diff::backward::create_diff_variable_vector (const Eigen::MatrixBase< ValueVector > &value_vec) -> Eigen::CwiseNullaryOp< impl::create_diff_variable_vector_functor< ValueVector >, typename impl::create_diff_variable_vector_functor< ValueVector >::result_type > |
Create a vector of variables. | |
Definition of create_diff_variable function.
Definition in file create_diff_variable.h.