|
typedef Matrix< Scalar, Dynamic, 1 > | VectorType |
|
typedef SparseFunctor< Scalar, int > | Base |
|
typedef Base::JacobianType | JacobianType |
|
enum | |
|
typedef Scalar | Scalar |
|
typedef int | Index |
|
typedef Matrix< Scalar, Dynamic, 1 > | InputType |
|
typedef Matrix< Scalar, Dynamic, 1 > | ValueType |
|
typedef SparseMatrix< Scalar, ColMajor, Index > | JacobianType |
|
typedef SparseQR< JacobianType, COLAMDOrdering< int > > | QRSolver |
|
◆ Base
template<typename Scalar >
◆ JacobianType
template<typename Scalar >
◆ VectorType
template<typename Scalar >
◆ sparseGaussianTest()
template<typename Scalar >
int inputs() const
Definition: LevenbergMarquardt/LevenbergMarquardt.h:78
int values() const
Definition: LevenbergMarquardt/LevenbergMarquardt.h:79
◆ df()
template<typename Scalar >
87 coeff = coeff * coeff;
88 if (coeff < 1. && coeff > 0.) {
89 fjac.coeffRef(
row,
col) = -(1 - coeff) * (1 - coeff);
97 coeff = coeff * coeff;
98 if (coeff < 1. && coeff > 0.) {
Array< int, Dynamic, 1 > v
Definition: Array_initializer_list_vector_cxx11.cpp:1
const unsigned n
Definition: CG3DPackingUnitTest.cpp:11
#define eigen_assert(x)
Definition: Macros.h:910
Expression of a fixed-size or dynamic-size sub-vector.
Definition: VectorBlock.h:58
int * m
Definition: level2_cplx_impl.h:294
Scalar Scalar
Definition: LevenbergMarquardt/LevenbergMarquardt.h:68
VectorType m_x
Definition: sparseLM.cpp:106
References Eigen::SparseMatrix< Scalar_, Options_, StorageIndex_ >::coeffRef(), col(), Eigen::SparseMatrix< Scalar_, Options_, StorageIndex_ >::cols(), eigen_assert, m, n, row(), Eigen::SparseMatrix< Scalar_, Options_, StorageIndex_ >::rows(), and v.
◆ initPoints()
template<typename Scalar >
list x
Definition: plotDoE.py:28
VectorType m_y
Definition: sparseLM.cpp:106
VectorType model(const VectorType &uv, VectorType &x)
Definition: sparseLM.cpp:27
References plotDoE::x.
Referenced by test_sparseLM_T().
◆ model()
template<typename Scalar >
39 for (
int j = 0;
j <
m;
j++) {
40 for (
int i = 0;
i <
half;
i++) {
41 coeff = (
x(
j) -
i) /
v(
i);
43 if (coeff < 1. && coeff > 0.)
y(
j) += u(
i) *
std::pow((1 - coeff), 2);
int i
Definition: BiCGSTAB_step_by_step.cpp:9
Scalar * y
Definition: level1_cplx_impl.h:128
EIGEN_STRONG_INLINE EIGEN_DEVICE_FUNC bfloat16 pow(const bfloat16 &a, const bfloat16 &b)
Definition: BFloat16.h:625
Definition: fft_test_shared.h:66
std::ptrdiff_t j
Definition: tut_arithmetic_redux_minmax.cpp:2
References eigen_assert, i, j, m, n, Eigen::bfloat16_impl::pow(), v, plotDoE::x, and y.
◆ operator()()
template<typename Scalar >
◆ m_x
template<typename Scalar >
◆ m_y
template<typename Scalar >
The documentation for this struct was generated from the following file: