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/forward/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::forward::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::forward |
Namespace of forward-mode automatic differentiation. | |
namespace | num_collect::auto_diff::forward::impl |
Namespace of internal implementations. | |
Typedefs | |
template<base::concepts::real_scalar_dense_vector ValueVector> | |
using | num_collect::auto_diff::forward::variable_vector_type |
Get type of vectors of variables. | |
Functions | |
template<base::concepts::real_scalar Value> | |
auto | num_collect::auto_diff::forward::create_diff_variable (const Value &value) -> variable< Value > |
Create a variable by which functions will be differentiated (for scalar differential coefficients). | |
template<base::concepts::real_scalar Value, base::concepts::real_scalar_dense_vector Diff> | |
auto | num_collect::auto_diff::forward::create_diff_variable (const Value &value, index_type size, index_type index) -> variable< Value, Diff > |
Create a variable by which functions will be differentiated (for vector differential coefficients). | |
template<base::concepts::real_scalar_dense_vector ValueVector> | |
auto | num_collect::auto_diff::forward::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.